mirror of
https://github.com/YMFE/yapi.git
synced 2025-02-23 13:59:28 +08:00
fix: ignore prd
This commit is contained in:
parent
bd70fe6c7a
commit
254e069d6a
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