File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export default defineConfig({
1414 source : {
1515 entry : {
1616 index : './src/index.ts' ,
17- libCssExtractLoader : './src/css/libCssExtractLoader .ts' ,
17+ LibCssExtractLoader : './src/css/LibCssExtractLoader .ts' ,
1818 } ,
1919 define : {
2020 RSLIB_VERSION : JSON . stringify ( require ( './package.json' ) . version ) ,
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { createRequire } from 'node:module';
22import path from 'node:path' ;
33import type { RsbuildConfig , RsbuildPlugin } from '@rsbuild/core' ;
44import { CSS_EXTENSIONS_PATTERN } from '../constant' ;
5- import { RemoveCssExtractAssetPlugin } from './removeCssExtractAssetPlugin ' ;
5+ import { RemoveCssExtractAssetPlugin } from './RemoveCssExtractAssetPlugin ' ;
66
77const require = createRequire ( import . meta. url ) ;
88const CSS_MODULE_REG = / \. m o d u l e \. \w + $ / i;
@@ -114,7 +114,7 @@ const pluginLibCss = (rootDir: string): RsbuildPlugin => ({
114114 if ( rule . uses . has ( CHAIN_ID . USE . MINI_CSS_EXTRACT ) ) {
115115 rule
116116 . use ( CHAIN_ID . USE . MINI_CSS_EXTRACT )
117- . loader ( require . resolve ( './libCssExtractLoader .js' ) )
117+ . loader ( require . resolve ( './LibCssExtractLoader .js' ) )
118118 . options ( {
119119 rootDir,
120120 } ) ;
You can’t perform that action at this time.
0 commit comments