Fix injection issues

This commit is contained in:
QWp6t
2017-03-23 19:32:40 -07:00
parent c84fe502f1
commit 6b40db80fd
4 changed files with 554 additions and 443 deletions

View File

@@ -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)}/`,

View File

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

View File

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

983
yarn.lock

File diff suppressed because it is too large Load Diff