Giter Club home page Giter Club logo

Comments (8)

glromeo avatar glromeo commented on May 30, 2024 1

@ArthurHeitmann thanks for spotting it! I need to improve my publish pipeline 🤦‍♂️

from esbuild-sass-plugin.

glromeo avatar glromeo commented on May 30, 2024 1

Ok, fixed that in v1.4.11

from esbuild-sass-plugin.

glromeo avatar glromeo commented on May 30, 2024

I could fix this issue by handling more gracefully the errors but at best I would have to cache the watchedFiles from the last successful build which I'd rather not do because esbuild does it already.
It wouldn't make the plugin slower but it would make it more memory hungry and I don't like that.
Let's keep this issue open until we see where esbuild goes with the issue #1063, I will then provide a fix accordingly.

from esbuild-sass-plugin.

ArthurHeitmann avatar ArthurHeitmann commented on May 30, 2024

I see the problem. In the meanwhile I have a fix on my fork. I don't really know much about sass compilation or esbuild plugins, so I don't know if I missed something.

Unused memory is wasted memory

         -- someone on reddit

from esbuild-sass-plugin.

glromeo avatar glromeo commented on May 30, 2024

Given the cache is used only in watch mode I ended up providing a fix in v1.4.10

from esbuild-sass-plugin.

ArthurHeitmann avatar ArthurHeitmann commented on May 30, 2024

Seems we were thinking the same thing. Thank you

from esbuild-sass-plugin.

glromeo avatar glromeo commented on May 30, 2024

Sorry I wasn't paying attention... your PR would have been welcome.

from esbuild-sass-plugin.

ArthurHeitmann avatar ArthurHeitmann commented on May 30, 2024

Did you forget to run tsc before publishing? Because in the plugin.ts it says build.initialOptions and in plugin.js it just says build. And btw. the watch parameter can also be false :)

from esbuild-sass-plugin.

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.