Build without polyfills #2316
wilberforce
started this conversation in
General
Replies: 1 comment 3 replies
-
All of the polyfills are opt-in, so the smallest build is the default. See https://lit.dev/docs/tools/production/#modern-only-build for an example Rollup config that doesn't include any polyfills. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to set some flags and do a build without polyfills?
I'm trying to achieve the smallest package for modern browers so don't want the shady css and other polyfills in the production code.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions