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",
|
||||
|
||||
@@ -33,12 +33,12 @@
|
||||
"autoprefixer": "^6.6.1",
|
||||
"body-parser": "^1.16.0",
|
||||
"browser-sync": "^2.18.6",
|
||||
"browsersync-webpack-plugin": "^0.4.1",
|
||||
"browsersync-webpack-plugin": "^0.5.0",
|
||||
"bs-html-injector": "^3.0.3",
|
||||
"buble": "^0.15.2",
|
||||
"buble-loader": "^0.4.0",
|
||||
"clean-webpack-plugin": "^0.1.15",
|
||||
"copy-globs-webpack-plugin": "^0.1.0",
|
||||
"copy-globs-webpack-plugin": "^0.2.0",
|
||||
"css-loader": "^0.26.1",
|
||||
"cssnano": "^3.10.0",
|
||||
"eslint": "^3.14.0",
|
||||
|
||||
Reference in New Issue
Block a user