Closed houzhitaohzt closed 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.
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).
Why are you running webpack-cli in the browser?