You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tanghe-report/report-ui/webpack.config.js

17 lines
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()
]
}