report-ui/webpack.config.js
2023-04-14 15:11:35 +08:00

17 строки
360 B
JavaScript

'use strict'
const path = require('path')
const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin');
module.exports = {
resolve: {
extensions: ['.js', '.ts', '.vue', '.json', '.css', '.node', '.sass'],
alias: {
'@': path.resolve('src'),
'vue$': 'vue/dist/vue.esm.js'
}
},
plugins: [
new MonacoWebpackPlugin()
]
}