123456789101112 |
- console.log(111111111111111)
- var path = require('path')
- function resolve(dir) {
- return path.join(__dirname, dir)
- }
- module.exports = {
- lintOnSave: false,
-
- chainWebpack: config => {
- config.resolve.alias.set('~', resolve('src/core')) //设置别名
- }
- }
|