mirror of
https://github.com/ZiuChen/ClipboardManager.git
synced 2025-06-07 22:04:06 +08:00
build: 移除了构建过程中自动拷贝README的功能
This commit is contained in:
parent
ffb267da96
commit
3e12bd21d3
@ -1,6 +1,4 @@
|
|||||||
const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
|
const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
|
||||||
const CopyPlugin = require('copy-webpack-plugin')
|
|
||||||
const path = require('path')
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
publicPath: './',
|
publicPath: './',
|
||||||
@ -15,15 +13,5 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
config.plugin('copy-plugin').use(CopyPlugin, [
|
|
||||||
{
|
|
||||||
patterns: [
|
|
||||||
{
|
|
||||||
from: path.join(__dirname, 'README.md'),
|
|
||||||
to: path.join(__dirname, 'dist', 'README.md')
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
])
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user