Skip to content

Commit fc15720

Browse files
feat(index): allow file extensions for .postcssrc
1 parent 9c1047f commit fc15720

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var loadOptions = require('./lib/options')
1717
*
1818
*
1919
* @module postcss-load-options
20-
* @version 1.0.0
20+
* @version 1.2.0
2121
*
2222
* @requires cosmiconfig
2323
* @requires object-assign
@@ -35,7 +35,7 @@ module.exports = function optionsrc (ctx, path, options) {
3535

3636
path = path ? resolve(path) : process.cwd()
3737

38-
options = assign({}, options)
38+
options = assign({ rcExtensions: true }, options)
3939

4040
if (!ctx.env) process.env.NODE_ENV = 'development'
4141

0 commit comments

Comments
 (0)