You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is important because right now, dist/preact.esm.js is actually not treated as a strict Module by Webpack 4. You can try this out:
// name this file foo.mjsimport{options}from'preact';
Running the above through a vanilla Webpack config will resolve preact to node_modules/preact/dist/preact.esm.js, but will then throw an exception since Webpack does not infer strict ESM validity from the package.json "module" fields - it's only inferred from the file extension.
The text was updated successfully, but these errors were encountered:
This is important because right now,
dist/preact.esm.js
is actually not treated as a strict Module by Webpack 4. You can try this out:Running the above through a vanilla Webpack config will resolve
preact
tonode_modules/preact/dist/preact.esm.js
, but will then throw an exception since Webpack does not infer strict ESM validity from the package.json "module" fields - it's only inferred from the file extension.The text was updated successfully, but these errors were encountered: