Summary
Three things are updated
- Tree shake unused dependencies
- postcss -> This project doesn't use postcss
- other deprecated rollup plugins
- Add Terser plugin
- Move styled-components dependency, peer -> dependency
Details
styled-components
In case of 'react', It's 'react-web-code-editor' so every user notice that they have to have 'react' dependency to use this library.
but, styled-components is not, It's optional.
so, I decide to include styled-components dependency into this library.
Terser plugin
use terser plugin to minimize bundle size.
v.1.1.1 | v.1.1.0 |
---|---|