From 6b09e0e8819a9d9c948e7e9b5f297f3ef295db02 Mon Sep 17 00:00:00 2001 From: Julian Gonggrijp Date: Mon, 30 Mar 2020 12:35:12 +0200 Subject: [PATCH] Remove the context parameter from the rollup config The "this is undefined" warning has been completely eliminated by #2831 so the parameter isn't needed anymore. --- docs/rollup.config.js | 1 - rollup.config.js | 1 - 2 files changed, 2 deletions(-) diff --git a/docs/rollup.config.js b/docs/rollup.config.js index 62384078d..06ae2639c 100644 --- a/docs/rollup.config.js +++ b/docs/rollup.config.js @@ -1,7 +1,6 @@ module.exports = { input: '../modules/index-all.js', treeshake: false, - context: 'this', output: { file: 'underscore.js', exports: 'named', diff --git a/rollup.config.js b/rollup.config.js index 9f2e427ff..32259845a 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -1,7 +1,6 @@ module.exports = { input: 'modules/index-default.js', treeshake: false, - context: 'this', output: { file: 'underscore.js', exports: 'default',