vue-gantt-schedule-timeline-calendar icon indicating copy to clipboard operation
vue-gantt-schedule-timeline-calendar copied to clipboard

Receiving "Syntax Error" in IE11. Compatibility not given. Babel Issue?

Open chaosof99 opened this issue 3 years ago • 0 comments

I have tried to incorporate the calendar into a VueJS application and run it under several browsers. This seems to work fine for most, but I can't seem to run it with IE11. I either receive Syntax Error and the application won't load.

I use webpack to package my application. I use babel as a transpiler. Of course it could be an issue with my setup, but I've tried simple setups with babel, e.g.

{ test: /.js$/, loader: 'babel-loader' },

as well as more elaborate setups after noticing the plugin in the babel.config.js in the node-module distribution, e.g.

{ test: /.m?js$/, exclude: /(node_modules|bower_components)/, use: { loader: 'babel-loader', options: { presets: ['@babel/preset-env','@vue/cli-plugin-babel/preset'] } } }

Either way I got similar results. My application runs with the exception of the component that references the GSTC, and it loads if I remove all references to GSTC under either setup.

Any suggestions?

chaosof99 avatar Sep 11 '20 14:09 chaosof99