You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
support mode with <link/>/<script/> tags, to reduce initial bundle size
build prod/dev releases as different files under dist/
DEP0005 deprecation warning during npm run build
create Lambda that compiles index.html with various default configs set (or e.g. sql.js mode)
Audit/reduce bundle size
2021-12-29: I imported just the S3 client from aws-sdk (thx @jasonprado!) and that reduced the production index.html from 4MB to 1.3MB 🎉
2021-12-27: I spent a while optimizing imports and things and shaved 35 bytes off a 4MB package. I think I webpack is already "tree-shaking" in some default way; not sure if there is a much more aggressive version that can be set up, or if I just have to cut out some dependencies.
Would be good to compare against an index.html that <link>s/<script>s in its deps (1st bullet above).
The text was updated successfully, but these errors were encountered:
<link/>
/<script/>
tags, to reduce initial bundle sizedist/
npm run build
index.html
with various default configs set (or e.g.sql.js
mode)Audit/reduce bundle size
2021-12-29: I imported just the S3 client from aws-sdk (thx @jasonprado!) and that reduced the production
index.html
from 4MB to 1.3MB 🎉2021-12-27: I spent a while optimizing imports and things and shaved 35 bytes off a 4MB package. I think I webpack is already "tree-shaking" in some default way; not sure if there is a much more aggressive version that can be set up, or if I just have to cut out some dependencies.
Would be good to compare against an
index.html
that<link>
s/<script>
s in its deps (1st bullet above).The text was updated successfully, but these errors were encountered: