You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Katja Lutz
e60ba647c6
In certain cases the handler.js copy resulted in duplicate code in the final project build. As example in the final build, dynamically imported modules might import their dependencies from the original entry-server.js instead of the handler.js copy, this would result in the following chain: 1. handler.js copied from entry-server.js (therefore has code of dep1, dep2, dep3) 2. handler.js dynamically imports SomeComponent.js 2. SomeComponent.js doesnt know about handler.js, imports dep2 from entry-server.js 3. entry-server.js has code for dep1, dep2, dep3 4. The final build includes dep1, dep2 and dep3 from handler.js and from entry-server.js So by removing the handler.js copy and directly importing entry-server.js we can avoid the duplicate dependency code. |
1 year ago | |
---|---|---|
.. | ||
create-solid | 1 year ago | |
mdx | 1 year ago | |
start | 1 year ago | |
start-aws | 1 year ago | |
start-cloudflare-pages | 1 year ago | |
start-cloudflare-workers | 1 year ago | |
start-deno | 1 year ago | |
start-netlify | 1 year ago | |
start-node | 1 year ago | |
start-static | 1 year ago | |
start-vercel | 1 year ago |