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