Skip to content

Commit eaafd58

Browse files
committed
chore: reabse
1 parent 8f080a3 commit eaafd58

File tree

3 files changed

+72
-15
lines changed

3 files changed

+72
-15
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
});

pnpm-lock.yaml

Lines changed: 69 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)