-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I have this kind of CSS file:
@import "/res/css/reset.css";
@import "/res/css/base/base.css";
and Grunt config:
cssjoin: {
bundles: {
options: {
paths: ['build/grunt']
},
files: [
{
expand: true,
cwd: 'path/with/import-bundles',
dest: 'comp/some',
src: [
'**/*.css'
]
}
]
}
}
In cases, where defined file path in @import could not be found (on filesystem), task uses options.paths.path + declared import path, but if file that is declared in @import statement exists, options.paths are not used in forming right path to file that I need to join.
So if /res/css/reset.css exists, cssjoin will take file from there, but if not, if would combine path in options.paths and will lookup file in this dir build/grunt/res/css/reset.css. How could I make cssjoin to only look for path that are combined with option defined rule?
Metadata
Metadata
Assignees
Labels
No labels