Closed Parzival42 closed 3 years ago
Run into this issue myself the other day, using typescript
branch myself which is works fine with webpack but obviously can't recommend you that because of breaking changes. Keep doing that you doing if it's works, will try to merge typescript branch after realese of North Star
Hi!
I am using
r6api.js
within an electron application (I am using the Vue CLI Plugin Electron Builder). However, it occurred to me that usingr6api.js
in combination with webpack fails due to:It seems like there is an issue using
require
together with webpack. For example quickly changingconst nodeFetch = require('node-fetch');
toconst nodeFetch = require('node-fetch').default;
in/lib/fetch.js
solves the issue for me. However, I didn't investigate too much if this may introduce other issues.You can find some more infos about this problem here:
Is there any chance you could make
r6api.js
webpack ready? Thanks in advance!