Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions packages/rspack/etc/core.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2488,8 +2488,6 @@ interface Experiments_2 {
RslibPlugin: typeof RslibPlugin;
// (undocumented)
RstestPlugin: typeof RstestPlugin;
// @deprecated (undocumented)
SubresourceIntegrityPlugin: typeof SubresourceIntegrityPlugin;
// (undocumented)
swc: {
transform: typeof transform;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export type HtmlRspackPluginOptions = {

/**
* Configure the SRI hash algorithm, which is disabled by default.
* @deprecated Use `experiments.SubresourceIntegrityPlugin` instead.
* @deprecated Use `SubresourceIntegrityPlugin` instead.
*/
sri?: 'sha256' | 'sha384' | 'sha512';

Expand Down
5 changes: 0 additions & 5 deletions packages/rspack/src/exports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -377,10 +377,6 @@ interface Experiments {
cleanup: () => Promise<void>;
};
RemoveDuplicateModulesPlugin: typeof RemoveDuplicateModulesPlugin;
/**
* @deprecated Use `rspack.SubresourceIntegrityPlugin` instead
*/
SubresourceIntegrityPlugin: typeof SubresourceIntegrityPlugin;
EsmLibraryPlugin: typeof EsmLibraryPlugin;
RsdoctorPlugin: typeof RsdoctorPlugin;
RstestPlugin: typeof RstestPlugin;
Expand Down Expand Up @@ -421,7 +417,6 @@ export const experiments: Experiments = {
},
},
RemoveDuplicateModulesPlugin,
SubresourceIntegrityPlugin,
EsmLibraryPlugin,
/**
* Note: This plugin is unstable yet
Expand Down
Loading