Skip to content

Update Webpack version - #382

Merged
Mortaro merged 1 commit into
nullstack:nextfrom
GuiDevloper:update-webpack
Aug 29, 2023
Merged

Update Webpack version#382
Mortaro merged 1 commit into
nullstack:nextfrom
GuiDevloper:update-webpack

Conversation

@GuiDevloper

@GuiDevloper GuiDevloper commented Aug 27, 2023

Copy link
Copy Markdown
Member

I did both #373 and #378 which updated dependencies and pinned the Webpack version at "5.88.1", fixing the pnpm resolver support for both dev/prod dependencies.

But still it showed the below error for npm:

npm + Nullstack(0.20.2) error (Webpack(5.88.1))

npm-webpack-compilatio-error

We would still need a Webpack version to choose that supported both pnpm/npm and our custom webpack-dev-middleware, something simple like if we kept the old syntax "^5.0.0", but supportive and not opening chance for a too old (or too new) version to be surprisingly installed.

Then I realised that the newly "5.88.2" was just there waiting to be tested, and voilà, it worked with all those requirements in both npm/pnpm and with/without global cache 🚀

@Mortaro
Mortaro merged commit 4b6f616 into nullstack:next Aug 29, 2023
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