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

Commit 5b4031e

Browse files
committed
Update esm.sh deps
1 parent 71cf11c commit 5b4031e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

server/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const defaultConfig: Readonly<RequiredConfig> = {
3131
env: {},
3232
react: {
3333
version: defaultReactVersion,
34-
esmShBuildVersion: 40,
34+
esmShBuildVersion: 41,
3535
}
3636
}
3737

server/css.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import util from '../shared/util.ts'
22
import { PostCSSPlugin, CSSOptions } from '../types.ts'
33
import { esbuild } from './helper.ts'
44

5-
const postcssVersion = '8.2.8'
5+
const postcssVersion = '8.2.10'
66
const productionOnlyPostcssPlugins = ['autoprefixer']
77

88
export class CSSProcessor {
@@ -125,7 +125,7 @@ async function initPostCSS(plugins: PostCSSPlugin[]) {
125125
}
126126

127127
async function importPostcssPluginByName(name: string) {
128-
const url = `https://esm.sh/${name}?external=postcss@${postcssVersion}&no-check`
128+
const url = `https://esm.sh/${name}?deps=postcss@${postcssVersion}&no-check`
129129
const { default: Plugin } = await import(url)
130130
return Plugin
131131
}

0 commit comments

Comments
 (0)