simplifyify icon indicating copy to clipboard operation
simplifyify copied to clipboard

stringify

Open jsannerstedt opened this issue 7 years ago • 2 comments

When using the following

"browserify": { "transform": [ "babelify", [ "stringify", { "extensions": [ ".html" ] } ] ] }

my bundle has \n instead of \n, in all my .html files, and any escaped chars have . So there seems to be one too many back slashes throughout my templates.

Any idea or suggestion how I could fix this?

(works as expected with watchify)

jsannerstedt avatar Oct 04 '16 19:10 jsannerstedt

This sounds like a bug in the stringify transform. Maybe something related to the interaction between stringify and babelify. Try it with Browserify directly (rather than going through Simplifyify) and I suspect that you'll see the same behavior

JamesMessinger avatar Oct 05 '16 13:10 JamesMessinger

nope, works fine with both browserify and watchify, exact same args and files

jsannerstedt avatar Oct 05 '16 17:10 jsannerstedt