Comments (5)
Have you tried
gulp.src('src/uxpatterns/patterns.less', { base: 'src/uxpatterns' })
?
But not sure if it fix the your problem.
Thanks for bug report, probably dup #10
Can you try version 1.X? (npm i gulp-cssimport@1
)
But has some restricts (see changelog)
from gulp-cssimport.
I just tried that, but unfortunately, it does not work. Good try, though.
Steve Fiedler | Principal UI Software Engineer
O 339.674.2548 | M 508.561.5308
[veracode-email-logo]
The Most Powerful Application Security Platform on the Planet
From: Roman Vasilev [mailto:[email protected]]
Sent: Friday, July 31, 2015 3:30 PM
To: unlight/gulp-cssimport [email protected]
Cc: Steve Fiedler [email protected]
Subject: Re: [gulp-cssimport] When files are included from sub-directory the destination file winds up in the wrong place (#12)
Have you tried
gulp.src('src/uxpatterns/patterns.less', { base: 'src/uxpatterns' })
?
Thanks for bug report, probably dup #10#10
Can you try version 1.X? (npm i gulp-cssimport@1)
But has some restricts (see changelog)
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/12#issuecomment-126790924.
from gulp-cssimport.
I noticed something odd debugging the source of this issue initially. In my situation, I had two files being processed — ./src/css/index.css/
ending up ./app/assets/index.css
and ./src/css/vendors/glide.css
as ./app/assets/css/vendors/glide.css
. The index.css
file was getting dumped on directory too soon.
But logging it's file path at various points in the task never reported any change. I thought maybe gulp-cssimport
was messing with the path, but it remained ./src/css/index.css
all the way until it hit gulp.dest
. I know it's still an issue of this plugin since removing it fixes the turnout.
Not sure if this helps, but I hope it does!
from gulp-cssimport.
I have rewritten part with resolving paths, which leads to bogus destination paths.
Please, try new version npm i unlight/gulp-cssimport#3.0
, it is not published yet @ npm.
from gulp-cssimport.
FIxed in 3.0+
from gulp-cssimport.
Related Issues (20)
- not parsing files with ../ HOT 12
- No ability to includePaths HOT 8
- Corrupted Package in 2.1.0 on npm? HOT 10
- File masks like **/* cause wrong path resolving HOT 2
- Plugin remove sourcemaps from end file. HOT 8
- Source-map is broken HOT 4
- outdated minimatch dep HOT 1
- Commented @import statements are not ignored HOT 1
- gulp-cssimport improvements
- Can it work with absolute path ? HOT 5
- when i use cssimport throw UnhandledPromiseRejectionWarning and DeprecationWarning HOT 1
- css @import inside imported file HOT 1
- Add 'root' option and 'urlTransform' option HOT 3
- Imported CSS files contain byte order mark HOT 3
- gulp-cssimport and gulp-sass how to? HOT 1
- Replace deprecated gulp-util HOT 1
- gulp-util removal request HOT 1
- Process minified files HOT 2
- is it rebase images url ? HOT 3
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 gulp-cssimport.