Skip to content

Commit

Permalink
MDL-75012 js: Bump Babel dependencies
Browse files Browse the repository at this point in the history
Please note that whilst some dependencies have higher versions
available, these are not compatible at this time.
  • Loading branch information
andrewnicols committed Feb 28, 2023
1 parent 8ed6cc9 commit bf99f67
Show file tree
Hide file tree
Showing 3 changed files with 595 additions and 311 deletions.
9 changes: 8 additions & 1 deletion Gruntfile.js
Expand Up @@ -350,7 +350,7 @@ module.exports = function(grunt) {
};
};

const terser = require('rollup-plugin-terser').terser;
const terser = require('@rollup/plugin-terser');

// Project configuration.
grunt.initConfig({
Expand All @@ -376,6 +376,13 @@ module.exports = function(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({initialDelay: 0}),
babel({
Expand Down

0 comments on commit bf99f67

Please sign in to comment.