★ wanayoo — archive 1999 https://github.com/JS-DevTools/simplifyify/issues/17Nouvelle recherche | Portail wanayoo
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

@jsannerstedt jsannerstedt commented Oct 4, 2016

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

@JamesMessinger JamesMessinger commented Oct 5, 2016

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

@jsannerstedt jsannerstedt commented Oct 5, 2016

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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.