Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shakeify issue? #26

Open
niftylettuce opened this issue Aug 18, 2020 · 1 comment
Open

Shakeify issue? #26

niftylettuce opened this issue Aug 18, 2020 · 1 comment

Comments

@niftylettuce
Copy link

niftylettuce commented Aug 18, 2020

I'm bundling Bree with browserify + tinyify at https://github.com/breejs/bree and it's outputting this error whenever it's loaded:

Screen Shot 2020-08-17 at 8 14 14 PM

I'm assuming this is due to shakeify?

@niftylettuce
Copy link
Author

Yeah, definitely seems like it - I was able to change -p tinyify to cross-env NODE_ENV=production browserify src/index.js -o dist/bree.min.js -s Bree -g [ babelify --configFile ./.dist.babelrc ] -g unassertify -g @goto-bus-stop/envify -g uglifyify -p browser-pack-flat/plugin and it works okay now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant