Skip to content

Commit b45be43

Browse files
committed
wip: update
1 parent 8edf64b commit b45be43

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/vite/src/node/plugins/css.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ export function cssPlugin(config: ResolvedConfig): Plugin {
396396
url = injectQuery(url, `t=${mod.lastHMRTimestamp}`)
397397
}
398398
}
399-
return [url, resolved]
399+
return [url, cleanUrl(resolved)]
400400
}
401401
if (config.command === 'build') {
402402
const isExternal = config.build.rollupOptions.external

packages/vite/src/node/server/environments/fullBundleEnvironment.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ export class FullBundleDevEnvironment extends DevEnvironment {
122122
() => {
123123
debug?.('INITIAL: run done')
124124
},
125-
() => {
126-
debug?.('INITIAL: run error')
125+
(e) => {
126+
debug?.('INITIAL: run error', e)
127127
},
128128
)
129129
this.waitForInitialBuildFinish().then(() => {

0 commit comments

Comments
 (0)