webpack.config.js 285 B

12345678910111213
  1. 'use strict'
  2. const path = require('path')
  3. module.exports = {
  4. context: path.resolve(__dirname, './'),
  5. resolve: {
  6. extensions: ['.js', '.ts', '.vue', '.json', '.css', '.node', '.sass'],
  7. alias: {
  8. '@': path.resolve('src'),
  9. 'vue$': 'vue/dist/vue.esm.js'
  10. }
  11. }
  12. }