origin-js icon indicating copy to clipboard operation
origin-js copied to clipboard

Don't include raw origin.js file in npm packge

Open wanderingstan opened this issue 7 years ago • 0 comments

Right now we generate the "raw" origin.js file at dist/origin.js.

(This is the non-npm version that can be used standalone in a broswer.)

The bad thing is that this file then gets included in our npm package and is imported into any app (like our dapp) that uses it. That's 1.5MB of unused dead weight.

I'm no npm expert, but there must be a way to generate in a way (or in a place) where it won't be included in the origin-js npm package.

@nick any ideas?

wanderingstan avatar May 18 '18 19:05 wanderingstan