更新部署机制

This commit is contained in:
Julyp
2020-01-31 19:39:40 +08:00
parent 7bc2f8818c
commit a7d4ae92ab
12 changed files with 174 additions and 284 deletions

View File

@@ -1,14 +1,5 @@
const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
module.exports = {
entry: './src/index.js',
plugins: [
new HtmlWebpackPlugin({
template: path.resolve(__dirname, '../public/index.html'),
inject: 'head'
})
],
module: {
rules: [{
test: /\.scss$/,
@@ -22,10 +13,6 @@ module.exports = {
}
}
]
}, ]
},
output: {
filename: 'smartTable.min.js',
path: path.resolve(__dirname, '../dist')
},
}]
}
}