yuguo / gulp-import-css Goto Github PK
View Code? Open in Web Editor NEWImport several css files into a single file
License: MIT License
Import several css files into a single file
License: MIT License
gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
gutil.PluginError
=> https://www.npmjs.com/package/plugin-error
There's a reference to an undefined variable in there, destdir
. For some reason that part of code is only being reached when adding a @font-face
, which I'm not sure why it would make any difference.
In the end I had to move to gulp-cssimport
but I thought I'd let you know.
Please :)
In 0.1.3 url("data:...")
URLs are transformed into:
src:url("../../some/random/path/data:...");
Behaviour was correct in 0.1.2 where these would go unchanged.
Encountered this as soon as I tried to install and execute:
/private/var/www/www.dawn.com/node_modules/gulp-import-css/index.js:10
const PLUGIN_NAME = 'gulp-import-css';
^^^^^
SyntaxError: Use of const in strict mode.
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (gulpfile.js:16:17)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.