mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
MDL-75012 js: Bump Babel dependencies
Please note that whilst some dependencies have higher versions available, these are not compatible at this time.
This commit is contained in:
parent
364458e36a
commit
b963401b8f
@ -127,7 +127,7 @@ module.exports = grunt => {
|
||||
};
|
||||
};
|
||||
|
||||
const terser = require('rollup-plugin-terser').terser;
|
||||
const terser = require('@rollup/plugin-terser');
|
||||
grunt.config.merge({
|
||||
rollup: {
|
||||
options: {
|
||||
@ -136,6 +136,13 @@ module.exports = grunt => {
|
||||
sourcemap: true,
|
||||
treeshake: false,
|
||||
context: 'window',
|
||||
|
||||
// Treat all modules as external and do not try to resolve them.
|
||||
// https://rollupjs.org/configuration-options/#external
|
||||
// We do not need to resolve them as each module is transpiled individually and there is no tree shaking
|
||||
// or combining of dependencies.
|
||||
external: true,
|
||||
|
||||
plugins: [
|
||||
rateLimit(),
|
||||
babel({
|
||||
|
14424
npm-shrinkwrap.json
generated
14424
npm-shrinkwrap.json
generated
File diff suppressed because it is too large
Load Diff
@ -4,14 +4,15 @@
|
||||
"description": "Moodle",
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.17.5",
|
||||
"@babel/eslint-parser": "^7.19.1",
|
||||
"@babel/plugin-proposal-class-properties": "7.16.7",
|
||||
"@babel/plugin-proposal-json-strings": "7.16.7",
|
||||
"@babel/plugin-syntax-dynamic-import": "7.8.3",
|
||||
"@babel/plugin-syntax-import-meta": "7.10.4",
|
||||
"@babel/preset-env": "7.16.11",
|
||||
"@rollup/plugin-terser": "^0.4.0",
|
||||
"ajv": "^8.12.0",
|
||||
"async": "^3.2.4",
|
||||
"babel-eslint": "10.1.0",
|
||||
"babel-plugin-system-import-transformer": "^4.0.0",
|
||||
"babel-plugin-transform-es2015-modules-amd-lazy": "2.0.1",
|
||||
"cross-env": "^7.0.3",
|
||||
@ -38,7 +39,7 @@
|
||||
"node-sass": "^8.0.0",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"postcss-scss": "^4.0.6",
|
||||
"rollup-plugin-terser": "^7.0.2",
|
||||
"rollup": "^3.17.3",
|
||||
"semver": "^7.3.8",
|
||||
"shifter": "https://github.com/andrewnicols/shifter/releases/download/v1.2.0_moodle-slim-0/shifter-1.2.0_moodle-slim-0.tar.gz",
|
||||
"stylelint": "^14.16.1",
|
||||
@ -49,9 +50,6 @@
|
||||
"engines": {
|
||||
"node": ">=18.12.0 <19"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/eslint-parser": "^7.17.0"
|
||||
},
|
||||
"browserslist": [
|
||||
">0.3%",
|
||||
"last 2 versions",
|
||||
|
Loading…
x
Reference in New Issue
Block a user