Fix injection issues
This commit is contained in:
@@ -29,9 +29,6 @@ const config = merge({
|
||||
browsers: [],
|
||||
}, userConfig);
|
||||
|
||||
config.watch.push(`${path.basename(config.paths.assets)}/${config.copy}`);
|
||||
config.watch = uniq(config.watch);
|
||||
|
||||
module.exports = merge(config, {
|
||||
env: Object.assign({ production: isProduction, development: !isProduction }, argv.env),
|
||||
publicPath: `${config.publicPath}/${path.basename(config.paths.dist)}/`,
|
||||
|
||||
@@ -8,14 +8,13 @@
|
||||
"./scripts/customizer.js"
|
||||
]
|
||||
},
|
||||
"watch": [
|
||||
"templates/**/*.php",
|
||||
"src/**/*.php"
|
||||
],
|
||||
"publicPath": "/app/themes/sage",
|
||||
"devUrl": "http://example.dev",
|
||||
"proxyUrl": "http://localhost:3000",
|
||||
"cacheBusting": "[name]_[hash:8]",
|
||||
"watch": [
|
||||
"{src,templates}/**/*.php"
|
||||
],
|
||||
"browsers": [
|
||||
"last 2 versions",
|
||||
"android 4",
|
||||
|
||||
Reference in New Issue
Block a user