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 bf99f67.
  • Loading branch information
andrewnicols committed Mar 9, 2023
1 parent 2f8fd40 commit 3521e03
Show file tree
Hide file tree
Showing 3 changed files with 311 additions and 595 deletions.
9 changes: 1 addition & 8 deletions Gruntfile.js
Expand Up @@ -350,7 +350,7 @@ module.exports = function(grunt) {
};
};

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

// Project configuration.
grunt.initConfig({
Expand All @@ -376,13 +376,6 @@ 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 3521e03

Please sign in to comment.