webpack-modules
Advanced tools
Comparing version
{ | ||
"version": "0.0.0", | ||
"version": "1.0.0", | ||
"name": "webpack-modules", | ||
@@ -4,0 +4,0 @@ "repository": "lukeed/webpack-modules", |
@@ -5,8 +5,9 @@ # webpack-modules | ||
Because webpack does it wrong and doesn't want to fix it. | ||
Because webpack does it wrong and won't fix it. | ||
Without this plugin, `.mjs` files will **only** consider other `.mjs` files as ESM. It completely disregards any `.js` files in the ESM format, forcing them to seen & treated as CommonJS modules (despite their contents). ([comment](https://github.com/reactjs/react-transition-group/pull/77)) | ||
Without this plugin, `.mjs` files will **only** consider other `.mjs` files as ESM. It completely disregards any `.js` files in the ESM format, forcing them to seen & treated as CommonJS modules (despite their contents). _([comment](https://github.com/reactjs/react-transition-group/pull/77))_ | ||
Additionally, without this plugin, `.mjs` files do not follow the same [`resolve.mainFields`](https://webpack.js.org/configuration/resolve/#resolvemainfields) sequence that's defined in your main configuration. ([comment](https://github.com/webpack/webpack/issues/6796#issuecomment-374980347)) | ||
Additionally, without this plugin, `.mjs` files do not follow the same [`resolve.mainFields`](https://webpack.js.org/configuration/resolve/#resolvemainfields) sequence that's defined in your main configuration. _([comment](https://github.com/webpack/webpack/issues/6796#issuecomment-374980347))_ | ||
## Usage | ||
@@ -28,8 +29,10 @@ | ||
## Credits | ||
Thank you to @ForsakenHarmony who did the research and legwork as part of [`preact-cli`](https://github.com/developit/preact-cli) – see [this](https://github.com/developit/preact-cli/pull/741/files) and [that](https://github.com/developit/preact-cli/pull/746/files) | ||
Thank you to [@ForsakenHarmony](https://github.com/ForsakenHarmony) who did the research and legwork as part of [`preact-cli`](https://github.com/developit/preact-cli) – via [this](https://github.com/developit/preact-cli/pull/741/files) and [that](https://github.com/developit/preact-cli/pull/746/files). | ||
## License | ||
MIT © [Luke Edwards](https://lukeed.com) |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
3879
0.94%1
-50%37
8.82%