vue-swing icon indicating copy to clipboard operation
vue-swing copied to clipboard

Production error

Open thomasmcevoy opened this issue 5 years ago • 1 comments

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?

thomasmcevoy avatar May 02 '19 21:05 thomasmcevoy

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

ghost avatar May 03 '19 15:05 ghost