@@ -15,7 +15,7 @@ async function parseStyles(
1515 state ,
1616 conditions ,
1717 from ,
18- postcss
18+ postcss ,
1919) {
2020 const statements = parseStatements ( result , styles , conditions , from )
2121
@@ -45,7 +45,7 @@ async function parseStyles(
4545 throw stmt . node . error (
4646 `Incompatible @charset statements:
4747 ${ stmt . node . params } specified in ${ stmt . node . source . input . file }
48- ${ charset . node . params } specified in ${ charset . node . source . input . file } `
48+ ${ charset . node . params } specified in ${ charset . node . source . input . file } ` ,
4949 )
5050 }
5151 }
@@ -80,14 +80,14 @@ async function resolveImportId(result, stmt, options, state, postcss) {
8080 stmt . uri ,
8181 options ,
8282 state ,
83- postcss
83+ postcss ,
8484 )
8585
8686 return
8787 } else if ( dataURL . isValid ( stmt . from . slice ( - 1 ) ) ) {
8888 // Data urls can't be used as a base url to resolve imports.
8989 throw stmt . node . error (
90- `Unable to import '${ stmt . uri } ' from a stylesheet that is embedded in a data url`
90+ `Unable to import '${ stmt . uri } ' from a stylesheet that is embedded in a data url` ,
9191 )
9292 }
9393
@@ -108,7 +108,7 @@ async function resolveImportId(result, stmt, options, state, postcss) {
108108 return ! path . isAbsolute ( file )
109109 ? resolveId ( file , base , options , atRule )
110110 : file
111- } )
111+ } ) ,
112112 )
113113
114114 // Add dependency messages:
@@ -124,7 +124,7 @@ async function resolveImportId(result, stmt, options, state, postcss) {
124124 const importedContent = await Promise . all (
125125 resolved . map ( file => {
126126 return loadImportContent ( result , stmt , file , options , state , postcss )
127- } )
127+ } ) ,
128128 )
129129
130130 // Merge loaded statements
@@ -138,13 +138,13 @@ async function loadImportContent(
138138 filename ,
139139 options ,
140140 state ,
141- postcss
141+ postcss ,
142142) {
143143 const atRule = stmt . node
144144 const { conditions, from } = stmt
145145 const stmtDuplicateCheckKey = conditions
146146 . map ( condition =>
147- formatImportPrelude ( condition . layer , condition . media , condition . supports )
147+ formatImportPrelude ( condition . layer , condition . media , condition . supports ) ,
148148 )
149149 . join ( ":" )
150150
@@ -185,7 +185,7 @@ async function loadImportContent(
185185 content ,
186186 filename ,
187187 options ,
188- postcss
188+ postcss ,
189189 )
190190
191191 const styles = importedResult . root
@@ -213,7 +213,7 @@ async function loadImportContent(
213213 state ,
214214 conditions ,
215215 [ ...from , filename ] ,
216- postcss
216+ postcss ,
217217 )
218218}
219219
0 commit comments