提交 9c10ccb6 编写于 作者: F franslee

update

上级 0df57f79
{
"version": "1.3.0",
"version": "1.3.1",
"packages": [
{
"name": "DatePicker",
......
......@@ -20,7 +20,8 @@ webpackConfig.entry = {
webpackConfig.output = {
path: path.resolve(__dirname, 'dist'),
publicPath: "/",
filename: '[name].js',
filename: "[name].js",
chunkFilename: "[name].[hash].js",
library: 'nutui',
libraryTarget: 'umd',
umdNamedDefine: true
......@@ -72,6 +73,7 @@ webpackConfig.plugins = [
new HtmlWebpackPlugin({
filename: path.resolve(__dirname, './dist/index.html'),
template: './src/index.html',
hash:true,
chunks: ['app']
}),
new HtmlWebpackPlugin({
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册