| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin')
- module.exports = {
- transpileDependencies: ['vuetify'],
- productionSourceMap: process.env.NODE_ENV === 'development',
- devServer: {
- proxy: {
- '^/api': {
- // target: 'http://localhost:8080/',
- // target: 'http://47.111.95.164:8080/',
- target: 'https://eval-server.seec.seecoder.cn/',
- ws: true,
- changeOrigin: true
- },
- '^/analysis_api': {
- target: 'https://analysis.seec.seecoder.cn',
- pathRewrite: {
- '^/analysis_api': '/eval'
- }
- //token eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJza3kiOiJXb0JpU2hlWWFvWGllQnVXYW5MZSEhIn0.QDF9l3beb2vodPMH87adsT4DZL60NU6Zf4uYAxelzg8
- }
- },
- port: 8000
- },
- configureWebpack: {
- plugins: [
- new MonacoWebpackPlugin({
- languages: ['java', 'python', 'cpp'],
- features: [
- 'bracketMatching',
- 'coreCommands',
- 'find',
- 'folding',
- 'hover',
- 'suggest'
- ]
- })
- ]
- }
- // css: {
- // extract: { ignoreOrder: true }
- // }
- }
|