Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stringify #17

Open
jsannerstedt opened this issue Oct 4, 2016 · 2 comments
Open

stringify #17

jsannerstedt opened this issue Oct 4, 2016 · 2 comments

Comments

@jsannerstedt
Copy link

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)

@JamesMessinger
Copy link
Member

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

@jsannerstedt
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants