Skip to content
This repository was archived by the owner on Aug 16, 2022. It is now read-only.

Commit b327b20

Browse files
committed
fix: set correct clean-css import
1 parent ac34efc commit b327b20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/postcss-clean.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as postcss from 'postcss'
2-
import CleanCSS from 'clean-css'
2+
const CleanCSS = require('clean-css')
33

44
export default postcss.plugin('clean', (options: any) => {
55
const clean = new CleanCSS({ compatibility: 'ie9', ...options })

0 commit comments

Comments
 (0)