how to keep quotations when using the API

20 views
Skip to first unread message

asher feil

unread,
Feb 8, 2017, 1:02:37 PM2/8/17
to UglifyJS
Right now I am using uglify through the api by calling

const Uglify = require('uglify-js');

and then calling

Uglify.minify()

when its done the quotation marks have disappeared from around object keys and this is causing an issue on IE8. I have been trying several different
options to see if they will keep the quotation marks around but nothing seems to work. Is there a way to do this with the API?
Reply all
Reply to author
Forward
0 new messages