Skip to content

Escape backslashes when generating assets object for kotlin js #423

@wakaztahir

Description

@wakaztahir

error when compiling on windows , I know you guys are going to take like an year to fix this.

Illegal escape: '\e'

in generated assets object which contains

  internal actual object assets : ResourceContainer<AssetResource> {
    public actual val export_from_sketchable: AssetResource = AssetResource(
            originalPath = js("require(\"files\export-from-sketchable.md\")") as String, 
            rawPath = "export-from-sketchable.md"
        )
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions