Comments (8)
@ArthurHeitmann thanks for spotting it! I need to improve my publish pipeline 🤦♂️
from esbuild-sass-plugin.
Ok, fixed that in v1.4.11
from esbuild-sass-plugin.
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.
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.
Given the cache is used only in watch mode I ended up providing a fix in v1.4.10
from esbuild-sass-plugin.
Seems we were thinking the same thing. Thank you
from esbuild-sass-plugin.
Sorry I wasn't paying attention... your PR would have been welcome.
from esbuild-sass-plugin.
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)
- postcss Unocss inoperative HOT 2
- When "type" is "style" esbuild ignores url-imported files HOT 1
- How to handle relative `url` paths in 3rd party packages HOT 2
- postcssPresetEnv debug being captured/surpressed? HOT 2
- the src folder maybe needed in published package HOT 1
- `ERROR` Can't find stylesheet to import when I have `@use` in my `scss` files HOT 2
- Sourcemaps for lit-css imports are broken
- 'Could not resolve' error when importing a font file using a relative path in scss HOT 1
- Use `dart-sass` instead of `sass` HOT 6
- npm warning when upgrading to esbuild 0.20.0 HOT 3
- Support for ES-Modules
- Issue with 3.0.0 & Vite HOT 3
- Import of sass files without extension containing multiple dots (like ```common.mixins.scss```) HOT 1
- sass-embedded is not supported on all platforms HOT 3
- Package not compressing/minifying the bundled css files HOT 1
- Feature request: custom styleModule implementation HOT 1
- sass symlink will no longer be created with version 3.x of the plugin
- Builds with `embedded: true` hang forever on Cloudflare Pages worker HOT 1
- Add support for latest esbuild version 0.21.0 HOT 3
- Minor docs update - esbuild-sass-plugin contains autoprefixer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esbuild-sass-plugin.