File tree Expand file tree Collapse file tree 3 files changed +14
-9
lines changed Expand file tree Collapse file tree 3 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 44 AUTO_PUBLIC_PATH ,
55 BASE_URI ,
66 SINGLE_DOT_PATH_SEGMENT ,
7- } from './libCssExtractLoader ' ;
7+ } from './const ' ;
88import { getUndoPath } from './utils' ;
99
1010const pluginName = 'LIB_CSS_EXTRACT_PLUGIN' ;
Original file line number Diff line number Diff line change 1+ export const BASE_URI = 'webpack://' ;
2+ export const MODULE_TYPE = 'css/mini-extract' ;
3+ export const AUTO_PUBLIC_PATH = '__mini_css_extract_plugin_public_path_auto__' ;
4+ export const ABSOLUTE_PUBLIC_PATH : string = `${ BASE_URI } /mini-css-extract-plugin/` ;
5+ export const SINGLE_DOT_PATH_SEGMENT =
6+ '__mini_css_extract_plugin_single_dot_path_segment__' ;
Original file line number Diff line number Diff line change 77 */
88import path , { extname } from 'node:path' ;
99import type { Rspack } from '@rsbuild/core' ;
10- import { type CssLoaderOptionsAuto , isCssModulesFile } from './utils' ;
11-
12- export const BASE_URI = 'webpack://' ;
13- export const MODULE_TYPE = 'css/mini-extract' ;
14- export const AUTO_PUBLIC_PATH = '__mini_css_extract_plugin_public_path_auto__' ;
15- export const ABSOLUTE_PUBLIC_PATH : string = `${ BASE_URI } /mini-css-extract-plugin/` ;
16- export const SINGLE_DOT_PATH_SEGMENT =
17- '__mini_css_extract_plugin_single_dot_path_segment__' ;
10+ import {
11+ ABSOLUTE_PUBLIC_PATH ,
12+ AUTO_PUBLIC_PATH ,
13+ BASE_URI ,
14+ SINGLE_DOT_PATH_SEGMENT ,
15+ } from './const' ;
1816
17+ import { type CssLoaderOptionsAuto , isCssModulesFile } from './utils' ;
1918interface DependencyDescription {
2019 identifier : string ;
2120 content : string ;
You can’t perform that action at this time.
0 commit comments