meteor-client-bundler icon indicating copy to clipboard operation
meteor-client-bundler copied to clipboard

The core-js npm package could not be found in your node_modules, while using the client bundle in Internet explorer 11

Open shacharsol opened this issue 6 years ago • 2 comments

I added both to bundler.config.json and npm's package.json , but it always fail with this error

shacharsol avatar Dec 08 '18 22:12 shacharsol

Same issue on react-native

bmanturner avatar Jan 14 '19 21:01 bmanturner

Removing this snippet fixed it for me:

              var core = function () {
                try {
                  return require("core-js/modules/_core");
                } catch (e) {
                  // Older versions of core-js had a different file layout.
                  return require("core-js/modules/$.core");
                }
              }();

bmanturner avatar Jan 15 '19 13:01 bmanturner