webpack.config.js 245 B

123456789101112
  1. const path = require('path')
  2. module.exports = {
  3. resolve: {
  4. extensions: ['.js', '.json', '.vue', '.ts'],
  5. root: path.resolve(__dirname),
  6. alias: {
  7. '@': path.resolve(__dirname),
  8. '~': path.resolve(__dirname),
  9. },
  10. },
  11. }