tinyify icon indicating copy to clipboard operation
tinyify copied to clipboard

Shakeify issue?

Open niftylettuce opened this issue 5 years ago • 1 comments

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 avatar Aug 18 '20 01:08 niftylettuce

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.

niftylettuce avatar Aug 18 '20 01:08 niftylettuce