Did the latest beta update break your WebPack? My app & builds broke! #9103
Replies: 2 comments 3 replies
-
For anyone else who gets hit with something similar, the quickest fix is to use
|
Beta Was this translation helpful? Give feedback.
-
To the maintainers of Quasar - WebPack 5 comes with significant (breaking) changes. Please see here: https://webpack.js.org/blog/2020-10-10-webpack-5-release/ After upgrading, I wasn't able to access "process.env" and a file picker/upload component I had totally broke. I had to go digging and googling to learn the following about WebPack 5:
We should probably consider rolling back to WebPack 4, or at least releasing something that notifies/alerts users of Quasar Beta that a bunch of things might break and to be aware of that. Possible Solution:
Example: file: quasar.conf.js
|
Beta Was this translation helpful? Give feedback.
-
Using the latest Quasar beta, we've apparently been upgraded to WebPack 5 from WebPack 4.
In my configs, I have the following:
With WebPack 5, I'm now getting transpile-time errors like the following:
After some googling, I discovered the following issue reported by others: webpack/webpack#11467 (comment)
So, I tried to update my chainWebPack as follows, but it throws errors.
Error:
WebPack doesn't seem to like this:
I also tried with:
I must be doing something obviously (and simply) stupid/wrong. Could anyone please advise? I'm just checking to make sure if this is supported, and I'm guessing it is.
Beta Was this translation helpful? Give feedback.
All reactions