" problem when using minifyjs: true
See original GitHub issueAn attribute like:
onclick="window.open('src/resources/pdfs/RC300_OM.pdf', '_blank')"
Will become:
onclick="window.open("resources/pdfs/RC300_OM.pdf","_blank")"
when using minifyjs: true
.
It’s very important for me to fix it since Browsers aren’t able to handle such things. How can this be solved?
Issue Analytics
- State:
- Created 8 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Single quotes being replaced with double quotes #495 - GitHub
It is, valid JSON. The obvious thing to do here is to escape the double quotes so that they're a valid JSON string....
Read more >minifying javascript with quote_keys is not working
I'm minifying javascript using gulp. ... My gulp task is as following: var uglify = require('gulp-uglify'); gulp.task('build1',function() { gulp.
Read more >uglify-js - npm
Start using uglify-js in your project by running `npm i uglify-js`. ... Chrome & Node.js Equivalent to setting `v8: true` in `minify()` for ......
Read more >API Reference - Terser
You can minify more than one JavaScript file at a time by using an object for the first argument where the keys are...
Read more >rollup.js
const something = true; export { something };. Rename on export: ... Edit your rollup.config.js file to add a second minified output.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Interim workaround may be
minifyjs:{quote_style:1}
style
attributes containing"
still don’t work.