File tree 3 files changed +12
-1
lines changed
3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,7 @@ export default defineConfig({
138
138
0 && (module.exports = {
139
139
PLUGIN_CSS_NAME,
140
140
PLUGIN_SWC_NAME,
141
+ __internalHelper,
141
142
createRsbuild,
142
143
defineConfig,
143
144
ensureAssetPrefix,
Original file line number Diff line number Diff line change 4
4
*/
5
5
import { rspack } from '@rspack/core' ;
6
6
import type * as Rspack from '@rspack/core' ;
7
+ import * as __internalHelper from './internal' ;
7
8
8
9
// Core methods
9
10
export { loadEnv } from './loadEnv' ;
@@ -163,3 +164,11 @@ export type {
163
164
WatchFiles ,
164
165
} from './types' ;
165
166
export type { ChainIdentifier } from './configChain' ;
167
+
168
+ export {
169
+ /**
170
+ * @private
171
+ * TODO: remove this in Rspack v1.2.0
172
+ */
173
+ __internalHelper ,
174
+ } ;
Original file line number Diff line number Diff line change @@ -310,7 +310,8 @@ export class RsbuildHtmlPlugin {
310
310
311
311
compiler . hooks . compilation . tap ( this . name , ( compilation : Compilation ) => {
312
312
getHTMLPlugin ( )
313
- . getCompilationHooks ( compilation )
313
+ // TODO: use getCompilationHooks in minor release
314
+ . getHooks ( compilation )
314
315
. alterAssetTagGroups . tapPromise ( this . name , async ( data ) => {
315
316
const entryName = data . plugin . options ?. entryName ;
316
317
You can’t perform that action at this time.
0 commit comments