Rollup plugin, to make it more compatible with ES3.
Currently it's only do 2 things:
npm i rollup-plugin-es3 -D
import { rollup } from 'rollup'
import es3 from 'rollup-plugin-es3'
rollup({
entry: 'main.js',
plugins: [
es3()
]
})
// pass the list of removal
plugins: [
es3({ remove: ['defineProperty', 'freeze'] })
]