We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1b8242 commit 3050ba7Copy full SHA for 3050ba7
2 files changed
index.js
@@ -127,11 +127,9 @@ function withConfigLoader(cb) {
127
} else {
128
configPath = file.dirname
129
}
130
+ contextOptions.file = file
131
return postcssLoadConfig(
- {
132
- file: file,
133
- options: contextOptions
134
- },
+ contextOptions,
135
configPath
136
)
137
})
test.js
@@ -329,7 +329,7 @@ describe('PostCSS Guidelines', function () {
329
stream.on('data', function () {
330
assert.deepEqual(postcssLoadConfigStub.getCall(0).args[0], {
331
file: file,
332
- options: { to: 'initial' }
+ to: 'initial'
333
334
assert.equal(postcssStub.use.getCall(0).args[0], plugins)
335
assert.equal(postcssStub.process.getCall(0).args[1].to, 'overriden')
0 commit comments