You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
500 B
27 lines
500 B
5 months ago
|
const webpack = require("webpack");
|
||
|
|
||
|
module.exports = {
|
||
|
entry: './index.js',
|
||
|
output: {
|
||
|
filename: 'bundle.js'
|
||
|
},
|
||
|
module: {
|
||
|
rules: [{
|
||
|
test: /\.vue$/,
|
||
|
use: [
|
||
|
{
|
||
|
loader: "html-loader"
|
||
|
},
|
||
|
{
|
||
|
loader: require.resolve("../index.js"),
|
||
|
options: {
|
||
|
prefix: true
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}]
|
||
|
}
|
||
|
};
|
||
|
|
||
|
|