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:
Comments
Post a Comment