const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: true,
})
defineConfig 方式配置 devtool: "source-map"
应该怎么配置呢?
这样配置编译就报错:
有没有会的大佬?
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: true,
})
defineConfig 方式配置 devtool: "source-map"
应该怎么配置呢?
这样配置编译就报错:
有没有会的大佬?
9 回答1.7k 阅读✓ 已解决
6 回答976 阅读
3 回答1.4k 阅读✓ 已解决
4 回答969 阅读✓ 已解决
2 回答1.2k 阅读✓ 已解决
3 回答875 阅读
3 回答1.3k 阅读✓ 已解决
配置方法有问题,文档上有说明,可以使用
configureWebpack
或chainWebpack
来配置,二选一