| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- 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: 'https://eval-server.seec.seecoder.cn/',
- ws: true,
- changeOrigin: true
- },
- '^/eval': {
- // target: 'http://localhost:8089/',
- target: 'https://analysis.seec.seecoder.cn/',
- ws: true,
- changeOrigin: true
- //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 }
- // }
- }
|