-
Notifications
You must be signed in to change notification settings - Fork 80
Closed
Description
I think I've got the path
, targetPath
and fontPath
configured correctly, but I'm having an issue now with targetPath
.
I'm working on a Laravel app and have my gulpfile located in the project root. So my directory structure looks like:
- /app
- /public
- gulpfile.js
My gulp configuration code for this plugin is as follows:
var fontName = 'icons';
gulp.task('icon-font', function(){
gulp.src(['app/assets/icons/*.svg'])
.pipe(iconfontcss({
fontName: fontName,
path: 'app/assets/scss/templates/_icons.scss',
targetPath: '../../../app/assets/scss/components/_icons.scss',
fontPath: '../fonts/'
}))
.pipe(iconfont({
fontName: fontName
}))
.pipe(gulp.dest('public/assets/fonts/'));
});
The problem I'm running into is this: the targetPath
is supposed to go into app/assets/scss/components/
but its going into public/assets/scss/components
instead. It's like "app" is being replaced by "public" in the path.
Am I doing something wrong or is this an issue with the plugin?
Metadata
Metadata
Assignees
Labels
No labels