chalk / ansi-regex

Regular expression for matching ANSI escape codes
MIT License
182 stars 78 forks source link

developmemt #27

Closed houzhitaohzt closed 5 years ago

houzhitaohzt commented 5 years ago

image

Qix- commented 5 years ago

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 commented 5 years ago

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- commented 5 years ago

Why are you running webpack-cli in the browser?