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

Leaflet 1.5.1 does not minify #137

Open
mdimjasevic opened this issue May 19, 2019 · 2 comments
Open

Leaflet 1.5.1 does not minify #137

mdimjasevic opened this issue May 19, 2019 · 2 comments

Comments

@mdimjasevic
Copy link

I've been trying to minify Leaflet 1.5.1 with hjsmin's Text.Jasmine.minifym function, but I get a Left value reading:

"HookToken {tokenSpan = TokenPn 87840 2829 23, tokenComment = [WhiteSpace (TokenPn 87839 2829 22) \" \"]}"

I got Leaflet 1.5.1 by downloading a zip file from http://cdn.leafletjs.com/leaflet/v1.5.1/leaflet.zip. Then I ran minifym on a ByteString obtained with Data.ByteString.Lazy.readFile from the bytestring package with a path to leaflet-src.js.

Any clue what's happening here?

@erikd
Copy link
Owner

erikd commented May 19, 2019

@mdimjasevic Would it be possible for you to reduce leaflet to the minimal example that still triggers this problem? If you provide a minimal example I will fix this :)

@erikd
Copy link
Owner

erikd commented Jan 11, 2023

hjsmin is now just a very thin wrapper to functionality in https://github.com/erikd/language-javascript .

Moving this issue to that repo.

@erikd erikd transferred this issue from erikd/hjsmin Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants