Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 2c7cf41

Browse files
committed
Don't check postcss types
1 parent 24fac67 commit 2c7cf41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/css.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import util from '../shared/util.ts'
77
import type { Aleph, LoadInput, LoadOutput, Plugin, PostCSSPlugin } from '../types.d.ts'
88

99
const test = /\.(css|pcss|postcss)$/i
10-
const postcssVersion = '8.3.5'
10+
const postcssVersion = '8.3.6'
1111
const postcssModulesVersion = '4.1.3'
1212
const productionOnlyPostcssPlugins = ['autoprefixer']
1313
const isModulesPluginName = (v: any): v is string => (typeof v === 'string' && /^postcss\-modules(@|$)/i.test(v.trim()))
@@ -174,7 +174,7 @@ async function initPostCSS(plugins: PostCSSPlugin[], isDev: boolean) {
174174
return null
175175
}
176176

177-
const { default: PostCSS } = await import(`https://esm.sh/postcss@${postcssVersion}`)
177+
const { default: PostCSS } = await import(`https://esm.sh/postcss@${postcssVersion}?no-check`)
178178
return PostCSS(postPlugins)
179179
}
180180

0 commit comments

Comments
 (0)