commit
419880dba8
|
@ -41,6 +41,11 @@ var compiler = webpack({
|
||||||
filename: NAME + '.js'
|
filename: NAME + '.js'
|
||||||
},
|
},
|
||||||
plugins: [ bannerPlugin ],
|
plugins: [ bannerPlugin ],
|
||||||
|
module: {
|
||||||
|
loaders: [
|
||||||
|
{ test: /\.json$/, loader: "json" }
|
||||||
|
]
|
||||||
|
},
|
||||||
cache: true
|
cache: true
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -32,6 +32,7 @@
|
||||||
"gulp-minify-css": "^0.4.5",
|
"gulp-minify-css": "^0.4.5",
|
||||||
"gulp-shell": "^0.3.0",
|
"gulp-shell": "^0.3.0",
|
||||||
"gulp-util": "^3.0.3",
|
"gulp-util": "^3.0.3",
|
||||||
|
"json-loader": "^0.5.4",
|
||||||
"mkdirp": "^0.5.0",
|
"mkdirp": "^0.5.0",
|
||||||
"mocha": "^2.1.0",
|
"mocha": "^2.1.0",
|
||||||
"uglify-js": "^2.4.16",
|
"uglify-js": "^2.4.16",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
var Ajv;
|
var Ajv;
|
||||||
try {
|
try {
|
||||||
Ajv = require('ajv/dist/ajv.bundle.js');
|
Ajv = require('ajv');
|
||||||
}
|
}
|
||||||
catch (err) {
|
catch (err) {
|
||||||
// no problem... when we need Ajv we will throw a neat exception
|
// no problem... when we need Ajv we will throw a neat exception
|
||||||
|
|
Loading…
Reference in New Issue