javascript - Semantic UI - `gulp build` returns JS error -


i installed latest version of semantic-ui when building assets gulp build, compiling js returns errors below, while css compiled fine.

building assets [10:48:00] created: dist/components/site.js [10:48:00] plumber found unhandled error:  gulpuglifyerror: unable minify javascript caused by: defaultserror: `preservecomments` not supported option file: /home/forge/mysite.co/public/semantic/dist/components/site.js [10:48:00] created: dist/components/form.js [10:48:00] plumber found unhandled error:  gulpuglifyerror: unable minify javascript caused by: defaultserror: `preservecomments` not supported option file: /home/forge/mysite.co/public/semantic/dist/components/form.js [10:48:00] created: dist/components/accordion.js [10:48:00] plumber found unhandled error:  gulpuglifyerror: unable minify javascript caused by: defaultserror: `preservecomments` not supported option file: /home/forge/mysite.co/public/semantic/dist/components/accordion.js [10:48:00] created: dist/components/checkbox.js [10:48:00] plumber found unhandled error:  gulpuglifyerror: unable minify javascript caused by: defaultserror: `preservecomments` not supported option file: /home/forge/mysite.co/public/semantic/dist/components/checkbox.js [10:48:00] created: dist/components/dimmer.js [10:48:00] plumber found unhandled error:  gulpuglifyerror: unable minify javascript caused by: defaultserror: `preservecomments` not supported option file: /home/forge/mysite.co/public/semantic/dist/components/dimmer.js 

i have never come across issue before in previous projects semantic ui i'm not sure causing this. can suggest fix?

this bug being fixed. see here:

https://github.com/semantic-org/semantic-ui/issues/5391


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -