NathanaelA / nativescript-platform-css

A NativeScript plugin to deal with Declarative UI and Platform specific CSS
23 stars 18 forks source link

It is not in ES5 #13

Closed dhananjaykumar880 closed 6 years ago

dhananjaykumar880 commented 6 years ago

Plugin should be in es5 mode. it is not working with webpack bundle. I need to have one extra plugin for this (uglifyJS), while it is already comes with nativescript-dev-webpack. If possible please compile it and release it in es5 format.

NathanaelA commented 6 years ago

The issue is that the NativeScript team has not switched to use a more current version of Uglify which supports ES6. I have no intention of moving any of my plugins backwards because the NativeScript team can't bother to use the ES6 version of Uglify. All my plugins work fine without Uglify being used.

Your solutions are:

  1. Install the ES6 version of Uglify yourself. (Or don't use uglify)
  2. Add a bug report (or upvote the existing bug) to the NativeScript webpack repo, and hope they fix it soon.
  3. Fork my repo, and make the changes yourself to the plugin.
  4. Pay me to create a custom es5 version of the plugin for you.