New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

webpack-modules

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-modules - npm Package Compare versions

Comparing version

to
1.0.0

2

package.json
{
"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)