Remove monaco plugin

pull/1852/head
Johan Girod 2021-12-02 13:41:57 +01:00
parent aec7c4321d
commit fbb66a04d8
5 changed files with 3624 additions and 5559 deletions

View File

@ -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",

View File

@ -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',

View File

@ -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',

View File

@ -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: '',

9176
yarn.lock

File diff suppressed because it is too large Load Diff