Конфиги для webpack
This commit is contained in:
17
build/webpack.prod.config.js
Normal file
17
build/webpack.prod.config.js
Normal file
@@ -0,0 +1,17 @@
|
||||
let path = require("path");
|
||||
let webpack = require("webpack");
|
||||
|
||||
let merge = require("webpack-merge");
|
||||
let baseWpConfig = require("./webpack.base.config");
|
||||
|
||||
module.exports = merge(baseWpConfig, {
|
||||
mode: 'production',
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.vue$/,
|
||||
loader: "vue-loader",
|
||||
}
|
||||
]
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user