File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import MonacoWebpackPlugin from 'monaco-editor-webpack-plugin';
66import { VueLoaderPlugin } from 'vue-loader' ;
77import EsBuildLoader from 'esbuild-loader' ;
88import { parse } from 'node:path' ;
9- import webpack , { type Configuration } from 'webpack' ;
9+ import webpack , { type Configuration , type EntryObject } from 'webpack' ;
1010import { fileURLToPath } from 'node:url' ;
1111import { readFileSync , globSync } from 'node:fs' ;
1212import { env } from 'node:process' ;
@@ -19,7 +19,7 @@ const {EsbuildPlugin} = EsBuildLoader;
1919const { SourceMapDevToolPlugin, DefinePlugin, EnvironmentPlugin} = webpack ;
2020const formatLicenseText = ( licenseText : string ) => wrapAnsi ( licenseText || '' , 80 ) . trim ( ) ;
2121
22- const themes : Record < string , Array < string > > = { } ;
22+ const themes : EntryObject = { } ;
2323for ( const path of globSync ( 'web_src/css/themes/*.css' , { cwd : import . meta. dirname } ) ) {
2424 themes [ parse ( path ) . name ] = [ `./${ path } ` ] ;
2525}
You can’t perform that action at this time.
0 commit comments