jonkemp/gulp-inline-css

inliner seems to remove font @import

Open

#38 ouverte le 8 sept. 2016

Voir sur GitHub
 (6 commentaires) (0 réactions) (0 assignés)JavaScript (28 forks)github user discovery
feature requesthelp wanted

Métriques du dépôt

Stars
 (272 stars)
Métriques de merge PR
 (Métriques PR en attente)

Description

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?

Guide contributeur