Skip to content

Commit

Permalink
MDL-77559 js: Revert "MDL-75012 js: Bump Babel dependencies"
Browse files Browse the repository at this point in the history
This reverts commit ee0e2bc.
  • Loading branch information
andrewnicols committed Mar 9, 2023
1 parent 805d34f commit 63cab4a
Show file tree
Hide file tree
Showing 3 changed files with 12,300 additions and 4,211 deletions.
9 changes: 1 addition & 8 deletions .grunt/tasks/javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ module.exports = grunt => {
};
};

const terser = require('@rollup/plugin-terser');
const terser = require('rollup-plugin-terser').terser;
grunt.config.merge({
rollup: {
options: {
Expand All @@ -136,13 +136,6 @@ 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
Loading

0 comments on commit 63cab4a

Please sign in to comment.