-
-
Notifications
You must be signed in to change notification settings - Fork 463
Example should be target: severless #15
Comments
Thanks for reporting @justinwhall |
YA! I did notice the |
Ah you're right. Right now the best I can think of is using |
^^ Yar! Regardless, plugin works great. Brings parody top client/SSR |
One solution I can think of is using assetPrefix only in production using phase : https://github.com/zeit/next.js#custom-configuration |
This won't help with HMR during development though? |
It shoud ! In dev (next dev), assetPrefix is unset, so next loads the assets as usual and in prod, serverless load the asset generated by the plugin. |
Duplicate of: #59 |
Next Config should be
target:serverless
no?Also,
npm run dev
doesn't work really right now. May want to remove that script for now to climate confusion. However... What are you doing for a dev server? Right now, I'm maintaining two different servers essentially.The text was updated successfully, but these errors were encountered: