cloudflare / worker-sites-template

Apache License 2.0
81 stars 39 forks source link

webpack config question #2

Closed EverlastingBugstopper closed 5 years ago

EverlastingBugstopper commented 5 years ago

mode: development <-- any reason for this?

xtuc commented 5 years ago

Production is the default mode. I think it's safer to publish to worker using mode: production or omit it because webpack could rely on eval.