From d3a0be07f48964bb2a9a6f2101f4ac29f8ec615f Mon Sep 17 00:00:00 2001 From: Nick DeJesus Date: Sun, 7 Mar 2021 10:22:54 -0500 Subject: [PATCH] remove redux-tool-kit from global variables --- use-shopping-cart/rollup.config.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/use-shopping-cart/rollup.config.js b/use-shopping-cart/rollup.config.js index 649f19b6..41ca46d7 100644 --- a/use-shopping-cart/rollup.config.js +++ b/use-shopping-cart/rollup.config.js @@ -40,7 +40,7 @@ export default [ }, { input: './core/store.js', - external: ['@reduxjs/toolkit', 'uuid'], + external: ['uuid'], output: [ { file: pkg.exports['./core'].require, @@ -61,8 +61,7 @@ export default [ sourcemap: true, globals: { react: 'React', - uuid: 'uuid', - '@reduxjs/toolkit': '@reduxjs/toolkit' + uuid: 'uuid' } } ],