megahertz / react-simple-wysiwyg

Simple and lightweight React WYSIWYG editor
https://megahertz.github.io/react-simple-wysiwyg/
MIT License
119 stars 21 forks source link

refactor: ♻️ rollup inject css support #5

Closed harshzalavadiya closed 3 years ago

harshzalavadiya commented 3 years ago

Resolves #4

Changelog

Notes

  1. I had to disable import/prefer-default-export rule due to it makes it much easier instead of renaming default exports in index
  2. Removed Travis CI since it wasn't used also it's no longer free and GitHub actions is :)
  3. Formatted README.md according to preetier
  4. Added css-loader to TS webpack example since it was importing from src directory
  5. SVG icons are compressed w/ https://jakearchibald.github.io/svgomg/

please let me know if any changes are required

harshzalavadiya commented 3 years ago
┌───────────────────────────────┐
│                               │
│   Destination: lib/index.js   │
│   Bundle Size:  9.38 KB       │
│   Minified Size:  9.34 KB     │
│   Gzipped Size:  3.59 KB      │
│                               │
└───────────────────────────────┘
┌──────────────────────────────────┐
│                                  │
│   Destination: lib/es/index.js   │
│   Bundle Size:  8.79 KB          │
│   Minified Size:  8.75 KB        │
│   Gzipped Size:  3.54 KB         │
│                                  │
└──────────────────────────────────┘
┌───────────────────────────────────────┐
│                                       │
│   Destination: lib/umd/index.umd.js   │
│   Bundle Size:  9.54 KB               │
│   Minified Size:  9.5 KB              │
│   Gzipped Size:  3.67 KB              │
│                                       │
└───────────────────────────────────────┘
megahertz commented 3 years ago

Thank you @harshzalavadiya, it looks awesome. I'm going to make a few changes on Tuesday and merge the PR

megahertz commented 3 years ago

Sorry for a delay, have no enough time. Will do it soon.

megahertz commented 3 years ago

Thank you again! Mostly it's pretty fine. I'm going to merge it on Monday and make a few changes. After that I can publish alpha version.

megahertz commented 3 years ago

Thank you for the changes, will merge on Monday.

megahertz commented 3 years ago

Thank you again, will try to prepare an alpha release on the week.

megahertz commented 3 years ago

@harshzalavadiya 2.0.0-alpha.1 is published. I'm going to implement a few more features before the final release.