-
-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attempt to achieve prefetch for workers #402
base: master
Are you sure you want to change the base?
Conversation
@@ -11,7 +11,7 @@ | |||
"start": "npm run -s server", | |||
"prestart": "npm run -s build", | |||
"server": "superstatic build -p ${PORT:-8080} --host 0.0.0.0 --gzip -c '{\"rewrites\": [{\"source\":\"**\",\"destination\":\"index.html\"}],\"headers\":[{\"source\":\"**\",\"headers\":[{\"key\":\"Cache-Control\",\"value\":\"max-age=31536000\"}]}]}'", | |||
"build": "preact build --prerenderUrls src/prerender.js --template src/template.html", | |||
"build": "preact build --no-esm --prerenderUrls src/prerender.js --template src/template.html", | |||
"postbuild": "cat src/_headers >> build/_headers", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No esm
build?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it sortof breaks with the workers, since they never have .esm.js
size-plugin-ssr
|
size-plugin-browser
|
size-plugin-ssr
|
size-plugin-browser
|
size-plugin-ssr
|
size-plugin-browser
|
size-plugin-ssr
|
size-plugin-browser
|
size-plugin-ssr
|
size-plugin-browser
|
size-plugin-ssr
|
1 similar comment
size-plugin-ssr
|
size-plugin-browser
|
1 similar comment
size-plugin-browser
|
No description provided.