Skip to content Skip to sidebar Skip to footer

Using A Dependency With An 'export' Statement Breaks At Electron App Startup

I'm trying to use electron-webpack to build an electron app with atlaskit. I've setup the smallest possible repo to reproduce the issue: fstephany/bug-report-electron-webpack. Her

Solution 1:

I made it work by puttin the atlaskit dependency in the whilelistedmodule settings of electron-webpack. See the commit for context.

"electronWebpack": {
  "whiteListedModules": ["@atlaskit/navigation-next"]
},

Post a Comment for "Using A Dependency With An 'export' Statement Breaks At Electron App Startup"