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 Mar 2, 2023
1 parent 8412495 commit c90054e
Show file tree
Hide file tree
Showing 3 changed files with 4,088 additions and 12,177 deletions.
9 changes: 8 additions & 1 deletion .grunt/tasks/javascript.js
Expand Up @@ -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: {
Expand All @@ -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({
Expand Down

0 comments on commit c90054e

Please sign in to comment.