diff --git a/src/stylePostLoader.ts b/src/stylePostLoader.ts index 20a8645ac..853cf3295 100644 --- a/src/stylePostLoader.ts +++ b/src/stylePostLoader.ts @@ -2,13 +2,14 @@ import * as qs from 'querystring' import type { LoaderDefinitionFunction } from 'webpack' import { compiler } from './compiler' -const { compileStyle } = compiler +const { compileStyleAsync } = compiler // This is a post loader that handles scoped CSS transforms. // Injected right before css-loader by the global pitcher (../pitch.js) // for any