Skip to content

Commit

Permalink
use json-loader as Ajv require some json files
Browse files Browse the repository at this point in the history
  • Loading branch information
onip committed Jan 21, 2016
1 parent ec25117 commit 7645c09
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ var compiler = webpack({
filename: NAME + '.js'
},
plugins: [ bannerPlugin ],
module: {
loaders: [
{ test: /\.json$/, loader: "json" }
]
},
cache: true
});

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"gulp-minify-css": "^0.4.5",
"gulp-shell": "^0.3.0",
"gulp-util": "^3.0.3",
"json-loader": "^0.5.4",
"mkdirp": "^0.5.0",
"mocha": "^2.1.0",
"uglify-js": "^2.4.16",
Expand Down

0 comments on commit 7645c09

Please sign in to comment.