Giter Site home page Giter Site logo

Comments (7)

tommoor avatar tommoor commented on May 22, 2024 1

Hi, this issue is very old – the library no longer depends on slug.

from rich-markdown-editor.

tommoor avatar tommoor commented on May 22, 2024

Thoughts on moving to webpack compiling to ignore this on the package level?

Not 100% sure I follow but down for reducing package size by any means

from rich-markdown-editor.

jorilallo avatar jorilallo commented on May 22, 2024

@tommoor moving the ignore from library user (host application) to library build step. Now that I think about it, not sure if that would even work

from rich-markdown-editor.

iamtekeste avatar iamtekeste commented on May 22, 2024

@jorilallo I also want to reduce the size of this package, where do I add
new webpack.IgnorePlugin(/unicode\/category\/So/)? Is it on my own webpack config or on this library's?

And is So.js not needed?

from rich-markdown-editor.

iamtekeste avatar iamtekeste commented on May 22, 2024

I understand this is a full fledged editor and the size is reasonable but can you suggest anyway to reduce the file size? According to bundlephobia it is at 223KB minified+gzipped.

https://bundlephobia.com/[email protected]

from rich-markdown-editor.

tommoor avatar tommoor commented on May 22, 2024

There's a way to reduce the size of lodash down to only the parts used as part of webpack bundling, I'd take a look at that. Would happily accept a PR.

from rich-markdown-editor.

iamtekeste avatar iamtekeste commented on May 22, 2024

Thank you for the quick response. I will take a look into that. Awesome editor by the way!

from rich-markdown-editor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.