Skip to content

Conversation

AviVahl
Copy link

@AviVahl AviVahl commented Jan 16, 2023

this change ensures "default" conditions are last, fixing the following webpack bundling error (on import to lib):

Module not found: Error: Default condition should be last one

@AviVahl
Copy link
Author

AviVahl commented Jan 17, 2023

Rebased to current main.

@isaacs
Copy link
Owner

isaacs commented Jan 17, 2023

What a very bizarre requirement. But ok, sure. I'll update the other hybrid modules I have to work the same way.

this change ensures "default" conditions are last, fixing the following
webpack bundling error:

```
Module not found: Error: Default condition should be last one
```

PR-URL: #190
Credit: @AviVahl
Close: #190
Reviewed-by: @isaacs
@isaacs isaacs closed this in 9f72189 Jan 17, 2023
@isaacs isaacs merged commit 9f72189 into isaacs:main Jan 17, 2023
@AviVahl
Copy link
Author

AviVahl commented Jan 17, 2023

Thanks! ❤️

@AviVahl AviVahl deleted the avi/fix-webpack-bundling branch January 17, 2023 22:18
isaacs added a commit to isaacs/node-mkdirp that referenced this pull request Jan 17, 2023
this change ensures "default" conditions are last, fixing the following
webpack bundling error:

```
Module not found: Error: Default condition should be last one
```

Re: isaacs/minimatch#190
Credit: @AviVahl
Reviewed-by: @isaacs
isaacs added a commit to isaacs/rimraf that referenced this pull request Jan 17, 2023
this change ensures "default" conditions are last, fixing the following
webpack bundling error:

```
Module not found: Error: Default condition should be last one
```

Re: isaacs/minimatch#190
Credit: @AviVahl
Reviewed-by: @isaacs
isaacs added a commit to isaacs/node-glob that referenced this pull request Jan 18, 2023
this change ensures "default" conditions are last, fixing the following
webpack bundling error:

```
Module not found: Error: Default condition should be last one
```

Re: isaacs/minimatch#190
Credit: @AviVahl
Reviewed-by: @isaacs
isaacs added a commit to isaacs/node-glob that referenced this pull request Feb 27, 2023
this change ensures "default" conditions are last, fixing the following
webpack bundling error:

```
Module not found: Error: Default condition should be last one
```

Re: isaacs/minimatch#190
Credit: @AviVahl
Reviewed-by: @isaacs
afzalimdad9 added a commit to afzalimdad9/minimatch that referenced this pull request Jan 18, 2025
this change ensures "default" conditions are last, fixing the following
webpack bundling error:

```
Module not found: Error: Default condition should be last one
```

PR-URL: isaacs/minimatch#190
Credit: @AviVahl
Close: #190
Reviewed-by: @isaacs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants