Ecmascript 5 syntax validator plugin for umi.
npm install umi-plugin-ecma5-validatorEcmascript 5 syntax validator plugin for umi.
Install via yarn or npm.
``bash`
$ yarn add umi-plugin-react
Configure it in the .umirc.js.
`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