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"
应该怎么配置呢?
这样配置编译就报错:
有没有会的大佬?
5 回答4.9k 阅读✓ 已解决
4 回答3.2k 阅读✓ 已解决
2 回答4.8k 阅读✓ 已解决
4 回答4.4k 阅读✓ 已解决
4 回答1.9k 阅读✓ 已解决
2 回答2.6k 阅读✓ 已解决
2 回答2.6k 阅读✓ 已解决
配置方法有问题,文档上有说明,可以使用
configureWebpack
或chainWebpack
来配置,二选一