Remove monaco plugin
parent
aec7c4321d
commit
fbb66a04d8
|
@ -53,7 +53,6 @@
|
|||
"i18next-parser": "^3.3.0",
|
||||
"intl-locales-supported": "^1.0.0",
|
||||
"mock-local-storage": "^1.0.5",
|
||||
"monaco-editor-webpack-plugin": "^1.9.0",
|
||||
"serve": "^11.1.0",
|
||||
"terser-webpack-plugin": "^3.0.2",
|
||||
"webpack": "^4.42.0",
|
||||
|
@ -106,7 +105,6 @@
|
|||
"react-instantsearch": "^6.11.2",
|
||||
"react-instantsearch-dom": "^6.11.2",
|
||||
"react-markdown": "^4.1.0",
|
||||
"react-monaco-editor": "^0.40.0",
|
||||
"react-redux": "^7.0.3",
|
||||
"react-router-dom": "^5.1.1",
|
||||
"react-router-hash-link": "^1.2.2",
|
||||
|
|
|
@ -4,7 +4,6 @@ const HTMLPlugin = require('html-webpack-plugin')
|
|||
const CopyPlugin = require('copy-webpack-plugin')
|
||||
const path = require('path')
|
||||
const { EnvironmentPlugin } = require('webpack')
|
||||
const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin')
|
||||
|
||||
module.exports.styleLoader = (styleLoader) => ({
|
||||
test: /\.css$/,
|
||||
|
@ -130,7 +129,6 @@ module.exports.default = {
|
|||
globalObject: 'self',
|
||||
},
|
||||
plugins: [
|
||||
new MonacoWebpackPlugin(),
|
||||
new EnvironmentPlugin({
|
||||
EN_BASE_URL: 'http://localhost:8080/infrance',
|
||||
FR_BASE_URL: 'http://localhost:8080/mon-entreprise',
|
||||
|
|
|
@ -91,6 +91,7 @@ module.exports = {
|
|||
outputDir: path.resolve('dist', 'prerender', 'mon-entreprise'),
|
||||
routes: [
|
||||
'/',
|
||||
'/simulateurs',
|
||||
'/simulateurs/salaire-brut-net',
|
||||
'/simulateurs/auto-entrepreneur',
|
||||
'/simulateurs/artiste-auteur',
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
const { map } = require('ramda')
|
||||
const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin')
|
||||
|
||||
const prod = require('./webpack.prod')
|
||||
const { commonLoaders, styleLoader } = require('./webpack.common')
|
||||
|
@ -16,7 +15,6 @@ module.exports = {
|
|||
rules: [...commonLoaders({ legacy: true }), styleLoader('style-loader')],
|
||||
},
|
||||
plugins: [
|
||||
new MonacoWebpackPlugin(),
|
||||
new EnvironmentPlugin({
|
||||
GITHUB_REF: '',
|
||||
GITHUB_HEAD_REF: '',
|
||||
|
|
Loading…
Reference in New Issue