To shrink the bundle javascript size 😄
Note: remove unused import is dangerous
because the imported package may have some side effects!
{
ignore: ['react']
}
import React from 'react'
import Button from 'button'
import _ from 'lodash'
import moment from 'moment'
import {data} from '../some-where'
// ...
const a = {}
a.moment = <Button x={data} />
import React from 'react'
import Button from 'button'
- import _ from 'lodash'
- import moment from 'moment'
import {data} from '../some-where'
// ...
const a = {}
a.moment = <Button x={data} />
- 1.0.9
Fix<Comp.A/>
Bug
- Supporting Scope