commit
419880dba8
|
@ -41,6 +41,11 @@ var compiler = webpack({
|
|||
filename: NAME + '.js'
|
||||
},
|
||||
plugins: [ bannerPlugin ],
|
||||
module: {
|
||||
loaders: [
|
||||
{ test: /\.json$/, loader: "json" }
|
||||
]
|
||||
},
|
||||
cache: true
|
||||
});
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
var Ajv;
|
||||
try {
|
||||
Ajv = require('ajv/dist/ajv.bundle.js');
|
||||
Ajv = require('ajv');
|
||||
}
|
||||
catch (err) {
|
||||
// no problem... when we need Ajv we will throw a neat exception
|
||||
|
|
Loading…
Reference in New Issue