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

ES6 import doc wrong #17

Open
martixy opened this issue Jun 22, 2020 · 1 comment
Open

ES6 import doc wrong #17

martixy opened this issue Jun 22, 2020 · 1 comment

Comments

@martixy
Copy link

martixy commented Jun 22, 2020

I was looking for something to prettify my css. Didn't read the docs at first (shame on me) otherwise I would have seen it clearly mention it doesn't add new lines.

But while I was finally there, I noticed that ES6 import is wrong.

TL;DR:

Docs say import indent from 'indent.js';
Correct usage: import { indent } from 'indent.js';

@o-bard-o
Copy link

Thanks!

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