1
0

webpack.config.js 360 B

12345678910111213141516
  1. 'use strict'
  2. const path = require('path')
  3. const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin');
  4. module.exports = {
  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. plugins: [
  13. new MonacoWebpackPlugin()
  14. ]
  15. }