-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I'm currently working on a site that uses npm as the task runner, and I'm attempting to use wiredep-cli to inject our main app.css with bower dependencies.
We are using postcss so our files are simply .css but it seems wiredep only recognises sass, scss, less and styl filetypes. I've seen that I can configure this, but there doesn't seem to be an option to do so from the command line.
Is this a possibility? Basically I'd like to configure the filetypes option with:
css: {
block: regex.block['//'],
detect: {
css: /@import\s(.+css)/gi,
sass: /@import\s(.+sass)/gi,
scss: /@import\s(.+scss)/gi
},
replace: {
css: '@import "{{filePath}}"',
sass: '@import "{{filePath}}"',
scss: '@import "{{filePath}}"'
}
}Any help appreciated!
Metadata
Metadata
Assignees
Labels
No labels