Comments (4)
Might be rollup-plugin-postcss
being a bit weird, but yes, #0000
is intentional as it's smaller and compresses better than transparent
.
from microbundle.
Going to close this out as there's no functional issue and nothing for us to fix really.
If the inconsistency is an issue for you, you might want to reach out and make an issue on cssnano
, as I believe that's what's handling this. No idea why that differs across environments myself.
from microbundle.
I updated Node localy (via nvm) from 18.13.0 to 18.16.1 and reinstalled packages. Now I get #0000
localy too. ^^
Strange. At least I have the problem now on all plattforms: transparent
becomes #0000
:-D
from microbundle.
ok I got it partialy. Not sure why the build output differed, but #0000 is the same as transparent. I missed completly the short syntax of hex colors with transparency. ^^
Edit: switching back to a older node version produces again transparent
. It relies on node/npm version as far as I can see.
from microbundle.
Related Issues (20)
- Using for of loop adds ~300 bytes of polyfill code HOT 5
- Environment variables HOT 3
- Facing difficulty in using my bundled package HOT 2
- inline of dependency leads to failed imports in source HOT 14
- No name was provided for external module 'preact/compat' HOT 2
- Build for React Server Components HOT 7
- Alias are specific only? HOT 2
- Wrong "import" in UMD bundle of UMD package HOT 8
- 打包后的产物 x.moduel.mjs 存在箭头函数,导致IE 无法兼容 HOT 3
- Add `x_google_ignoreList` (Ignore-listing code) support to sourcemaps HOT 9
- update rollup from 2.35.1 (2020-12-14) to at least 3.16.0 (2023-02-17), or ideally latest (4.6.1, 2023-11-30) HOT 12
- Cannot build when importing @sentry/browser HOT 5
- Dymanic imports not working in next.js and webpack applications HOT 2
- [typing import error][help wanted] The {{ package-name }} library may need to update its package.json or typings. HOT 8
- How can I include SVGs into my build? HOT 16
- Using React 17 or 18 i get the following error rpt2: options error TS5089: Option 'jsxFactory' cannot be specified when option 'jsx' is 'react-jsx'. HOT 1
- prevent export merge HOT 5
- Microbundle is awesome!
- Error when using file JS built by microbundle "Uncaught ReferenceError: require is not defined" HOT 17
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 microbundle.