Skip to content

use shikaka as library bundler, fix tests - #8

Closed
StarpTech wants to merge 3 commits into
TanStack:mainfrom
StarpTech:revamp_build_tests
Closed

StarpTech wants to merge 3 commits into
TanStack:mainfrom
StarpTech:revamp_build_tests

Conversation

@StarpTech

@StarpTech StarpTech commented Jun 2, 2020 •

Copy link
Copy Markdown

This PR simplifies the bundling process. I also fixed the test suite.
This should fix #5 Therefore https://github.com/StarpTech/shikaka use browserlist property to determine the polyfills.

The package size was reduced from 4KB to 2.21 KB (gzip)

$ shikaka src/index.js --format es --format cjs --minify --sourcemap
Build ES output to dist:
      5.77 KB  es/index.js
Build CJS output to dist:
      5.84 KB  cjs/index.js
Done in 2.84s.

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

Successfully merging this pull request may close these issues.

ReferenceError: regeneratorRuntime is not defined

2 participants