Skip to content

Commit

Permalink
chore: prepare for v1.2.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed Dec 16, 2024
1 parent 793e6f5 commit 7e097c5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
1 change: 0 additions & 1 deletion packages/core/rslib.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ export default defineConfig({
0 && (module.exports = {
PLUGIN_CSS_NAME,
PLUGIN_SWC_NAME,
__internalHelper,
createRsbuild,
defineConfig,
ensureAssetPrefix,
Expand Down
9 changes: 0 additions & 9 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*/
import { rspack } from '@rspack/core';
import type * as Rspack from '@rspack/core';
import * as __internalHelper from './internal';

// Core methods
export { loadEnv } from './loadEnv';
Expand Down Expand Up @@ -164,11 +163,3 @@ export type {
WatchFiles,
} from './types';
export type { ChainIdentifier } from './configChain';

export {
/**
* @private
* TODO: remove this in Rspack v1.2.0
*/
__internalHelper,
};
3 changes: 1 addition & 2 deletions packages/core/src/rspack/RsbuildHtmlPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,7 @@ export class RsbuildHtmlPlugin {

compiler.hooks.compilation.tap(this.name, (compilation: Compilation) => {
getHTMLPlugin()
// TODO: use getCompilationHooks in minor release
.getHooks(compilation)
.getCompilationHooks(compilation)
.alterAssetTagGroups.tapPromise(this.name, async (data) => {
const entryName = data.plugin.options?.entryName;

Expand Down

0 comments on commit 7e097c5

Please sign in to comment.