fix: ignore prd

This commit is contained in:
suxiaoxin 2017-07-25 16:24:56 +08:00
parent e052fe12d5
commit 7e209ca45d
5 changed files with 2 additions and 25 deletions

2
.gitignore vendored
View File

@ -36,5 +36,5 @@ Thumbs.db
node_modules/
runtime/init.lock
runtime/log
./prd/
prd/
dev/

View File

@ -1 +0,0 @@
window.WEBPACK_ASSETS = {"index.js":{"js":"index.js","css":"index.css"}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -29,7 +29,7 @@ module.exports = {
baseConfig.output.prd.path = 'static/prd';
baseConfig.output.prd.publicPath = '';
baseConfig.output.prd.filename = '[name][ext]'
baseConfig.output.prd.filename = '[name]@[chunkhash][ext]'
baseConfig.plugins.push(assetsPluginInstance)
baseConfig.module.loaders.push({