Need help with terser error after running gulp build #202
BustosAndrew
started this conversation in
General
Replies: 1 comment 1 reply
-
|
Hi Andrew, I have no experience with Box UI elements and I'd recommend that ask in their appropriate forum. What happens if you remove the Terser plugin from your webpack? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Since apparently a couple Box UI elements need code splitting enabled in webpack, I did my best to set that up in webpack. However, I still run into this issue after trying to include a ContentExplorer object in JSX. Here is the resulting webpack error log after running gulp build:
I doubt this is a problem with the generator, just with how the webpack config is setup. The following is the webpack config file after trying to add code splitting in the second entry point:
Any help appreciated.
Beta Was this translation helpful? Give feedback.
All reactions