mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-21 05:19:42 +08:00
fix: ignore prd
This commit is contained in:
parent
e052fe12d5
commit
7e209ca45d
2
.gitignore
vendored
2
.gitignore
vendored
@ -36,5 +36,5 @@ Thumbs.db
|
||||
node_modules/
|
||||
runtime/init.lock
|
||||
runtime/log
|
||||
./prd/
|
||||
prd/
|
||||
dev/
|
||||
|
@ -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
2
ykit.js
2
ykit.js
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user