Bundle/treeshake sourcecode with Rollup
See original GitHub issueAs a follow-up to #81, I’d like to swap tsc
out for a custom rollup
build. Inlining dependencies should reduce the install footprint significantly and make everything a lot faster.
If possible, the dependencies
should only include snowpack
, preact
, and the necessary @snowpack/plugin-
packages. Everything else should be moved to devDependencies
.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How to Bundle JavaScript With Rollup — Step-by-Step Tutorial
By the end of this tutorial, we'll have Rollup configured to: combine our scripts,; remove unused code,; transpile it to work with older...
Read more >rollup.js
Rollup is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library...
Read more >An Introduction to the Rollup.js JavaScript Bundler - SitePoint
The clock code can be added to a web page by creating an HTML ... Rollup.js provides options for optimizing the JavaScript source...
Read more >The Ultimate Guide to Getting Started with the Rollup.js ...
It includes a watch option which re-runs bundling whenever you make a change to a source file. Rollup.js can verify source code (linting), ......
Read more >Using Rollup.JS to create JS modules - nick's blog
yarn add --dev rollup rollup-plugin-babel babelrc-rollup babel-preset-env ... but Jest needs those transformations to run tests on ES6 code.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Siilwyn Thanks for flagging that, I need to cut another release. If I don’t get to it today it’ll be tomorrow.
Awesome! 👏