vue.config.js 348 B

12345678910111213141516
  1. const ScriptSetup = require('unplugin-vue2-script-setup/webpack').default;
  2. module.exports = {
  3. parallel: false,
  4. configureWebpack: {
  5. plugins: [
  6. ScriptSetup({
  7. /* options */
  8. }),
  9. ],
  10. },
  11. chainWebpack(config) {
  12. // disable type check and let `vue-tsc` handles it
  13. config.plugins.delete('fork-ts-checker');
  14. },
  15. };