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

Rollup syntax #61

Closed
RoelN opened this issue Jun 12, 2020 · 2 comments
Closed

Rollup syntax #61

RoelN opened this issue Jun 12, 2020 · 2 comments
Labels
enhancement Making working code work better.

Comments

@RoelN
Copy link
Collaborator

RoelN commented Jun 12, 2020

npx rollup --no-treeshaking --format=esm Font.js > Font.rolled.js

should be

npx rollup --no-treeshake --format=esm Font.js > Font.rolled.js

At least, On My Machine™

@RoelN
Copy link
Collaborator Author

RoelN commented Jun 15, 2020

But when loading the rolled version in the browser, I get

Uncaught SyntaxError: Identifier 'lazy' has already been declared

@RoelN RoelN closed this as completed Jun 15, 2020
@RoelN RoelN reopened this Jun 15, 2020
@Pomax
Copy link
Owner

Pomax commented Jun 16, 2020

rollup doesn't minify by default, so: where in the resulting bundle does that error pop up?

@Pomax Pomax added the enhancement Making working code work better. label Sep 9, 2020
@Pomax Pomax closed this as completed Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Making working code work better.
Projects
None yet
Development

No branches or pull requests

2 participants