use json-loader as Ajv require some json files

This commit is contained in:
Andrea Pinazzi 2016-01-21 16:05:05 +01:00
parent ec2511793a
commit 7645c09f94
2 changed files with 6 additions and 0 deletions

View File

@ -41,6 +41,11 @@ var compiler = webpack({
filename: NAME + '.js'
},
plugins: [ bannerPlugin ],
module: {
loaders: [
{ test: /\.json$/, loader: "json" }
]
},
cache: true
});

View File

@ -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",