-
Notifications
You must be signed in to change notification settings - Fork 115
Closed
Description
If I use inline comments, like
.u-limiter,
width: 960px;
// center this
margin: {
left: auto;
right: auto;
}
}
postcss-import throws an error:
events.js:141
throw er; // Unhandled 'error' event
^
Error: postcss-import: [removed].scss:4:6: Unknown word
width: 960px;
// center this
^
margin: {
I thought I could get this under control by using a plugin when calling postcss-import:
[gulp]
.pipe(postcss([
require('postcss-import')({
glob: true,
plugins: [
require('postcss-inline-comment')
]
}),
[more gulp]
but I had no luck. For now, I can live without inline comments, but what would be the best way for me to get this working?
Metadata
Metadata
Assignees
Labels
No labels