Skip to content

Commit c845a80

Browse files
committed
fix: postcss import
1 parent 14d4ced commit c845a80

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/compileStyle.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import postcss, { ProcessOptions, LazyResult } from 'postcss'
1+
const postcss = require('postcss')
2+
import { ProcessOptions, LazyResult } from 'postcss'
23
import trimPlugin from './stylePlugins/trim'
34
import scopedPlugin from './stylePlugins/scoped'
45
import { processors, StylePreprocessor, StylePreprocessorResults } from './styleProcessors'

0 commit comments

Comments
 (0)