Replies: 1 comment
-
Hi @jbuckner, there is a plugin, that helps to achieve this. It is not using Webpack but Rollup. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to configure snowpack to do both a "snowpack optimize" build and with
type="module"
and also a webpack build that is written out withtype="nomodule"
? I tried enabling the webpack plugin, but it replaced all of the entry points with regularscript
tags.I'm trying to let modern browsers use
module
imports but then older browsers use thenomodule
tags.Beta Was this translation helpful? Give feedback.
All reactions