IjzerenHein / react-tag-cloud

Create beautiful tag/word clouds using React ☁️
https://react-tag-cloud.stackblitz.io/
MIT License
117 stars 27 forks source link

Build contain ES6 formatting #20

Closed SwitchAxay closed 4 years ago

SwitchAxay commented 4 years ago

TagCloud file code directly moved to the dist folder that contains the ES6 code Because of this when I try to run the custom webpack for generating the build it will use UglifyJsPlugin to generate the build and UglifyJS will not convert ES6 to ES5 and build fails with error

Screenshot_4

One solution is that in the dist folder convert the ES6 code into ES5 of the TagCloude.js file and then run the minify build for that I have to fork the repo It is possible to create a build in pure JS or in ES5 code

SwitchAxay commented 4 years ago

Closing this issue I have updated the Webpack configuration that will convert ES6 into ES5.