Skip to content

Commit ddbfcb2

Browse files
committed
Add an any cast for viteMetadata chunks
1 parent 1d076ee commit ddbfcb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ function resolveColdBoxPlugin(
242242

243243
// The following two hooks are a workaround to help solve a "flash of unstyled content".
244244
// They add any CSS entry points into the manifest because Vite does not currently do this.
245-
renderChunk(_, chunk) {
245+
renderChunk(_, chunk : any) {
246246
const cssLangs = `\\.(css|less|sass|scss|styl|stylus|pcss|postcss)($|\\?)`;
247247
const cssLangRE = new RegExp(cssLangs);
248248

0 commit comments

Comments
 (0)