Skip to content

Inline Unicode-7.0.0 regexes #38

@mourner

Description

@mourner

@IvanSanchez Currently the unicode-7.0.0 dependency, which is required by the lines below, takes 124MB in Leaflet node_modules folder. To make Leafdoc leaner, I suggest either inlining those two regexps and removing the dependency (which should take just a dozen kilobytes), or doing Rollup magic and thus moving unicode-7.0.0 to devDependencies.

Leafdoc/src/regexps.js

Lines 42 to 43 in 6b7d38a

ID_Start: require('unicode-7.0.0/properties/ID_Start/regex'),
ID_Continue: require('unicode-7.0.0/properties/ID_Continue/regex')

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