Commit f914df70 authored by Jérome Perrin's avatar Jérome Perrin

stop transpiling for firefox 68

We no longer care about compatibility with so old browsers
parent 2105a15c
import 'core-js/actual'; // BBB firefox 68
import "./public-path.js" import "./public-path.js"
import * as monaco from 'monaco-editor'; import * as monaco from 'monaco-editor';
import init, { Workspace } from "./ruff/crates/ruff_wasm/src/pkg"; import init, { Workspace } from "./ruff/crates/ruff_wasm/src/pkg";
......
This diff is collapsed.
...@@ -8,11 +8,7 @@ ...@@ -8,11 +8,7 @@
"deploy": "NODE_ENV=production node deploy.js" "deploy": "NODE_ENV=production node deploy.js"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.20.5",
"@babel/preset-env": "^7.20.2",
"argparse": "^1.0.10", "argparse": "^1.0.10",
"babel-loader": "^9.1.0",
"core-js": "^3.26.1",
"css-loader": "^5.2.4", "css-loader": "^5.2.4",
"file-loader": "^6.2.0", "file-loader": "^6.2.0",
"monaco-editor": "latest", "monaco-editor": "latest",
......
...@@ -30,27 +30,6 @@ module.exports = { ...@@ -30,27 +30,6 @@ module.exports = {
test: /\.ttf$/, test: /\.ttf$/,
use: ["file-loader"], use: ["file-loader"],
}, },
{
test: /\.m?js$/,
exclude: {
and: [/node_modules/],
not: [/monaco-editor/],
},
use: {
loader: "babel-loader",
options: {
presets: [
[
"@babel/preset-env",
{
targets: { firefox: 68 },
corejs: "3",
},
],
],
},
},
},
], ],
}, },
optimization: productionMode optimization: productionMode
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment