-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
inliner seems to remove font @import #38
Comments
Possibly. I would suggest providing a reduced test case with gulp. |
So I simplified my test to the following: app.css:
index.html:
Output from inliner:
The css is inlined, as expected, but the reference to the font location has disappeared. |
I am facing the same problem. Very frustrating. |
I'm having the same problem |
Yes. |
Its something I have also faced (also with Foundation). |
I'm new at this, so I apologize in advance for my ignorance.
I'm attempting to import a google font by including the following in my app.scss:
@import url(http://fonts.googleapis.com/css?family=Raleway:300,400,500,700,600);
@import 'settings';
@import 'foundation-emails';
@import 'local'
I'm using foundation emails 2.2.1 with the following dependencies:
"babel-core": "^6.3.26",
"babel-preset-es2015": "^6.3.13",
"babel-register": "^6.7.2",
"beepbeep": "^1.2.0",
"browser-sync": "^2.11.0",
"colors": "^1.1.2",
"gulp": "git+https://github.com/gulpjs/gulp.git#4.0",
"gulp-awspublish": "^3.0.1",
"gulp-cli": "^1.1.0",
"gulp-html-src": "^1.0.0",
"gulp-htmlmin": "^1.1.1",
"gulp-if": "^2.0.0",
"gulp-imagemin": "^2.4.0",
"gulp-inline-css": "^3.0.0",
"gulp-litmus": "0.0.7",
"gulp-load-plugins": "^1.1.0",
"gulp-rename": "^1.2.2",
"gulp-replace": "^0.5.4",
"gulp-sass": "^2.1.0",
"gulp-sourcemaps": "^1.6.0",
"gulp-zip": "^3.2.0",
"inky": "^1.3.6",
"lazypipe": "^1.0.1",
"merge-stream": "^1.0.0",
"panini": "^1.3.0",
"rimraf": "^2.3.3",
"siphon-media-query": "^1.0.0",
"yargs": "^4.1.0"
I can see the import in the app.css:
@import url(http://fonts.googleapis.com/css?family=Raleway:300,400,500,700,600);
But when the final index.html is created, the font import is missing.
Is it being removed by the inliner?
The text was updated successfully, but these errors were encountered: