Skip to content

stringify #17

Description

@jsannerstedt

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)

Activity

  1. JamesMessinger commented on Oct 5, 2016

    @JamesMessinger
    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

  2. jsannerstedt commented on Oct 5, 2016

    @jsannerstedt
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions