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.
14 lines
268 B
14 lines
268 B
// 添加自定义对于webpack的配置
|
|
|
|
const path = require('path')
|
|
|
|
module.exports = {
|
|
// webpack 配置
|
|
webpack: {
|
|
// 配置别名
|
|
alias: {
|
|
// 约定:使用 @ 表示 src 文件所在路径
|
|
'@': path.resolve(__dirname, 'src')
|
|
},
|
|
}
|
|
}
|