Electron import module error (after update from 3.11.1 tot 3.11.2 @quasar/app-webpack) #16497
Labels
bug/1-hard-to-reproduce
A reproduction is available, but it's hard to reproduce, so it has a lower priority.
bug/1-repro-available
A reproduction is available and needs to be confirmed.
flavour/quasar-cli-webpack
kind/bug 🐞
mode/electron
Qv2 🔝
Quasar v2 issues
What happened?
After updating version 3.11.1 to 3.11.2 from @quasar/app-webpack, the Electron app no longer wants to build
quasar dev -m electron
. A referenceError is given.It seems to have to do with update b4ce740 when I undo it it does work fine again.
If you compare the compiled files electron-main.js I notice that the modules with a "-" in a the name are not compiled correctly.
In version 3.11.1, this gives:
In version 3.11.2, this gives:
which are two unknown variables subtracted from each other instead of loading a module.
The problem only plays in the electron app
quasar dev -m electron
, the web appquasar dev
goes fine.What did you expect to happen?
That all modules load properly again as in previous version and the electron app is buildable.
Reproduction URL
https://github.com/J76F/quasar-webpack-electron-test
How to reproduce?
with version 3.11.2 of @quasar/app-webpack (build error):
perform with previous version (3.11.1):
11. change version in package.json --> "@quasar/app-webpack": "3.11.1"
12. run
Flavour
Quasar CLI with Webpack (@quasar/cli | @quasar/app-webpack)
Areas
Electron Mode
Platforms/Browsers
Electron
Quasar info output
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: