vue-swing
vue-swing copied to clipboard
Production error
I keep getting the following error when bundling my project for production:
TypeError: "r is undefined" G Random.vue:1 Le VueJS G Random.vue:1 VueJS 7 a es6.promise.js:75 M es6.promise.js:92 c _microtask.js:18 vue.runtime.esm.js:1888
It's a simple project built on the vue cli scaffold.
It works fine in my dev environment, I only get the error in production. Does anyone know what's going on here?
If you are using Uglify for minification for instance, it does not support es6 and vue-swing is using es6 in the file VueSwing.vue