Comments (2)
Actually, to take this a step further, we could use something like gulp-base64 to inject the 2 images into the tabzilla.css file, and then do away with the whole "vendor" steps completely.
gulp.task('tabzilla-base64', function () {
return gulp.src(`${NODE_MODULES_PATH}mozilla-tabzilla/css/tabzilla.css`)
.pipe(base64())
.pipe(rename('_tabzilla.scss'))
.pipe(gulp.dest(`${NODE_MODULES_PATH}mozilla-tabzilla/css/`));
});
Although this would increase the size of the CSS from 801B to 5.2K.
Then we can create a _vendor.scss file with something like the following:
@import 'normalize';
@import 'css/tabzilla';
I can create a PR if this seems useful.
from testpilot.
Me thinks this is done via b95efeb. Closing.
from testpilot.
Related Issues (20)
- [Experiment details] Android and iOS experiment details pages are not alike
- The experiments platform icons are wrongly displayed on "RTL" locales
- [Mobile] The EOL page message size is too small for small screen devices HOT 1
- "Price Wise" link redirects to a placeholder page HOT 5
- Document doesn't have a <title> element
- Add meta description and opengraph tags?
- optimize src/images images?
- title attributes are weird on eol branch for "eolMessageFour"
- Verify production locales for EOL HOT 2
- Add AMO links to experiments on Medium blog HOT 2
- Close old Issues+PRs and archive the repo?
- Set protected status on production branch HOT 5
- Please update production with new locales HOT 2
- Wiki changes
- Invalid markup in nl translation on Test Pilot site HOT 2
- Incorrect title/alt values for multi-word study names HOT 5
- Action required: Add a Renovate config HOT 1
- Rename Price Wise to Price Tracker HOT 4
- CODE_OF_CONDUCT.md file missing
- Resenable protected status on production branch
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 testpilot.