19 lines
437 B
JavaScript
19 lines
437 B
JavaScript
const ScriptSetup = require('unplugin-vue2-script-setup/webpack').default;
|
|
|
|
module.exports = {
|
|
parallel: false,
|
|
devServer: {
|
|
port: 8888
|
|
},
|
|
configureWebpack: {
|
|
plugins: [
|
|
ScriptSetup({
|
|
/* options */
|
|
}),
|
|
],
|
|
},
|
|
chainWebpack(config) {
|
|
// disable type check and let `vue-tsc` handles it
|
|
config.plugins.delete('fork-ts-checker');
|
|
},
|
|
}; |