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 22
33const getTemplate = require ( './get-template' ) ;
44const loadSyntax = require ( 'postcss-syntax/load-syntax' ) ;
5- const { parse, types, traverse, loadPartialConfig } = require ( '@babel/core' ) ;
5+ const { parse, types, traverse, loadOptions } = require ( '@babel/core' ) ;
66
77const isStyleSheetCreate = expectAdjacentSibling ( [ 'create' ] ) ;
88const supports = {
@@ -126,7 +126,7 @@ function loadBabelOpts(opts) {
126126 let fileOpts ;
127127
128128 try {
129- fileOpts = filename && loadPartialConfig ( { filename } ) . options ;
129+ fileOpts = filename && loadOptions ( { filename } ) ;
130130 } catch ( ex ) {
131131 //
132132 }
Original file line number Diff line number Diff line change 11{
22 "name" : " @widen/postcss-css-in-js" ,
3- "version" : " 0.37.5 " ,
3+ "version" : " 0.37.6 " ,
44 "description" : " PostCSS syntax for parsing CSS in JS literals" ,
55 "keywords" : [
66 " postcss" ,
You can’t perform that action at this time.
0 commit comments