question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bundle/treeshake sourcecode with Rollup

See original GitHub issue

As 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:open
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
natemoo-recommented, Jan 27, 2021

@Siilwyn Thanks for flagging that, I need to cut another release. If I don’t get to it today it’ll be tomorrow.

0reactions
Siilwyncommented, Jan 29, 2021

Awesome! 👏

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found