Git Product home page Git Product logo

Comments (5)

unlight avatar unlight commented on July 3, 2024

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.

spfiedler avatar spfiedler commented on July 3, 2024

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.

mdfragala avatar mdfragala commented on July 3, 2024

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.

unlight avatar unlight commented on July 3, 2024

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.

unlight avatar unlight commented on July 3, 2024

FIxed in 3.0+

from gulp-cssimport.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.