alais.config.js 196 B

12345678910111213
  1. const path = require('path');
  2. function resolve(dir) {
  3. return path.join(__dirname, dir);
  4. }
  5. module.exports = {
  6. resolve: {
  7. alias: {
  8. '@': resolve('/')
  9. }
  10. }
  11. };