Ecmascript 5 syntax validator plugin for umi.
Install via yarn or npm.
$ yarn add umi-plugin-react
Configure it in the .umirc.js
.
export default {
plugins: [
['umi-plugin-ecma5-validator', option],
],
};
Specify the option for @babel/code-frame.
Specify the option for acorn.
In browser,
In command,
In command without compress,
To avoid cases like these,
MIT