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

developmemt #27

Closed
houzhitaohzt opened this issue Feb 15, 2019 · 3 comments
Closed

developmemt #27

houzhitaohzt opened this issue Feb 15, 2019 · 3 comments

Comments

@houzhitaohzt
Copy link

image

@Qix- Qix- closed this as completed Feb 15, 2019
@Qix-
Copy link
Member

Qix- commented Feb 15, 2019

If you need to use this in the browser, you need to package it to do so. ANSI doesn't do much in the browser normally, not sure why you'd need it there.

@houzhitaohzt
Copy link
Author

If you need to use this in the browser, you need to package it to do so. ANSI doesn't do much in the browser normally, not sure why you'd need it there.

This component is installed with the webpack-cli installation package. In the development environment, this code will not be compiled by Babel, and the compiled code will show the arrow function, which cannot be opened in ie (the production environment has not been tested yet).

@Qix-
Copy link
Member

Qix- commented Feb 15, 2019

Why are you running webpack-cli in the browser?

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