forked from shadowwalker/next-pwa
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core): fixed user's webpack config being overridden if the plugin…
… is disabled [bump ver]
- Loading branch information
Showing
2 changed files
with
23 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
"@ducanh2912/next-pwa": patch | ||
--- | ||
|
||
fix(core): fixed user's webpack config being overridden if the plugin is disabled | ||
|
||
- Before this patch, the plugin used to override user-defined or other plugins' Webpack custom config because it early returned the config (without calling `nextConfig.webpack?.()`) if it was disabled. This fixes it by calling `nextConfig.webpack?.()` before doing anything else. | ||
|
||
chore(types): changed `compilerOptions.moduleResolution` to `"nodeNext"`. | ||
|
||
- This shouldn't impact users. It is only meant to force me to write `.js` at the end of import paths and stuff. | ||
|
||
docs(README): refined main README.md | ||
|
||
- Rewrote README.md to fix grammar issues and decouple tips into TIPS.md. I also fixed/removed some broken links. | ||
|
||
chore(deps): ran deps:update-all | ||
|
||
- Nothing too special... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters