m0dch3n / vue-cli-plugin-cordova

Vue Cli 3 Cordova Plugin
MIT License
417 stars 63 forks source link

Compatibility vue-cli-5 #145

Open Maqsyo opened 2 years ago

Maqsyo commented 2 years ago

Please add compatibility with the new vue-cli-5 and webpack 5. The serve process is working pretty fine, but i couldn't build with it.

The main-issue comes from the legacy-mode

if the browserlistrc looks like this:

last 2 years

everything is working fine

If it looks like this:

> 1%
last 2 versions
not dead

image And the module-bundle is building for ever

andrii-trush commented 2 years ago

@Maqsyo did you solve this issue?

Maqsyo commented 2 years ago

@andrii-trush nope. I couldn't find any solution with enabled legacy mode. But the most mobile phones doesn't require this mode anymore. So I just kicked out the incompatible android/iOS Versions

ifredom commented 1 year ago

The final resolution version is to downgrade @vue-cli

npm install -g @vue/cli@4

Maqsyo commented 1 year ago

It shouldn't

But we upgraded our apps anyway to vite, so it isn't relevant for us anymore, but still important for other legacy projects or users