File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
const getTemplate = require ( './get-template' ) ;
4
4
const loadSyntax = require ( 'postcss-syntax/load-syntax' ) ;
5
- const { parse, types, traverse, loadPartialConfig } = require ( '@babel/core' ) ;
5
+ const { parse, types, traverse, loadOptions } = require ( '@babel/core' ) ;
6
6
7
7
const isStyleSheetCreate = expectAdjacentSibling ( [ 'create' ] ) ;
8
8
const supports = {
@@ -126,7 +126,7 @@ function loadBabelOpts(opts) {
126
126
let fileOpts ;
127
127
128
128
try {
129
- fileOpts = filename && loadPartialConfig ( { filename } ) . options ;
129
+ fileOpts = filename && loadOptions ( { filename } ) ;
130
130
} catch ( ex ) {
131
131
//
132
132
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @widen/postcss-css-in-js" ,
3
- "version" : " 0.37.5 " ,
3
+ "version" : " 0.37.6 " ,
4
4
"description" : " PostCSS syntax for parsing CSS in JS literals" ,
5
5
"keywords" : [
6
6
" postcss" ,
You can’t perform that action at this time.
0 commit comments