- uses
script type="module"
vs.script nomodule
- ensures browser support even when you have no access to a server-side process where you can detect user agents.
Although this method works and has some benefits it is not ideal, it should only be used if you can't detect user agents.
webpack.config.js
index.html
- dependencies listed in
package.json