Skip to content

Commit 0f56dbe

Browse files
committed
chore: reabse
1 parent c108760 commit 0f56dbe

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/core/rslib.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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),

packages/core/src/css/cssConfig.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { createRequire } from 'node:module';
22
import path from 'node:path';
33
import type { RsbuildConfig, RsbuildPlugin } from '@rsbuild/core';
44
import { CSS_EXTENSIONS_PATTERN } from '../constant';
5-
import { RemoveCssExtractAssetPlugin } from './removeCssExtractAssetPlugin';
5+
import { RemoveCssExtractAssetPlugin } from './RemoveCssExtractAssetPlugin';
66

77
const require = createRequire(import.meta.url);
88
const CSS_MODULE_REG = /\.module\.\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
});

0 commit comments

Comments
 (0)