Open NoFrosty opened 2 years ago
I found a solution. Try to import ES module with dynamic import & use /* webpackIgnore: true */
:
Hope this would be help
UPDATE :
I found this solution will cause module not found
after building... So It's not a solution. I have the same proplem.
@nklayman How do we import pure esm module in main process? Such as fix-path
The same issue with 6th version of execa
...
Describe the bug Can't build main process with class.
To Reproduce Create a ts file with a class in it. import the class in background.ts
Error I'm getting this error :
Tried to fix I tried to set my vue.config.js just like in #204
And now I'm getting this error :
Expected behavior Main process build without error.
Additional context My tsconfig.json :
And my vue.config.js :
vue info :