Skip to content

Non minified build #151

@biophonc

Description

@biophonc

Hi there,

would it be possible to add a non minified build to the npm package?

In the current release 2.3.0 there's a global function named i and that's clashing in my case with another lib, that also does not provide a non minified version and adds i to the global scope.

I guess for most of us, we use the import statement to load modules and have some sort of post processing, that eventually involves a minification. That way the minification is smart enough to name everything properly. I've tried to mark the letter i as reserved but rollup's minify plugin seems to ignore that short variables. It prevents the creation of something that is named i but keeps already existing is.

For now I have to patch altcha and copy it to my sources folder, which is not ideal.

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