YoWASP / yosys

Unofficial Yosys WebAssembly packages
https://yowasp.org
ISC License
65 stars 2 forks source link

Put default export last in package.json #31

Closed DanielleHuisman closed 8 months ago

DanielleHuisman commented 8 months ago

Bundlers like Webpack throw an error when the default export is not last, so this PR changes the order.

From the Node.js documentation (link):

"default" - the generic fallback that always matches. Can be a CommonJS or ES module file. This condition should always come last.

whitequark commented 8 months ago

Thanks!

whitequark commented 8 months ago

You should have a release at the latest tag on NPM in about a hour, for both of the packages.