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
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,6 @@ config.entryPoints
config.output : ChainedMap

config.output
.auxiliaryComment(auxiliaryComment)
.chunkFilename(chunkFilename)
.chunkLoadTimeout(chunkLoadTimeout)
.chunkLoadingGlobal(chunkLoadingGlobal)
Expand All @@ -446,8 +445,6 @@ config.output
.hotUpdateFunction(hotUpdateFunction)
.hotUpdateMainFilename(hotUpdateMainFilename)
.library(library)
.libraryExport(libraryExport)
.libraryTarget(libraryTarget)
.importFunctionName(importFunctionName)
.path(path)
.pathinfo(pathinfo)
Expand All @@ -456,7 +453,6 @@ config.output
.sourceMapFilename(sourceMapFilename)
.strictModuleErrorHandling(strictModuleErrorHandling)
.strictModuleExceptionHandling(strictModuleExceptionHandling)
.umdNamedDefine(umdNamedDefine)
.workerChunkLoading(workerChunkLoading)
.enabledLibraryTypes(enabledLibraryTypes)
.environment(environment)
Expand Down
4 changes: 0 additions & 4 deletions src/Output.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ export default class extends ChainedMap {
constructor(parent) {
super(parent);
this.extend([
'auxiliaryComment',
'assetModuleFilename',
'bundlerInfo',
'chunkFilename',
Expand All @@ -28,8 +27,6 @@ export default class extends ChainedMap {
'hotUpdateGlobal',
'hotUpdateMainFilename',
'library',
'libraryExport',
'libraryTarget',
'importFunctionName',
'path',
'pathinfo',
Expand All @@ -38,7 +35,6 @@ export default class extends ChainedMap {
'sourceMapFilename',
'strictModuleErrorHandling',
'strictModuleExceptionHandling',
'umdNamedDefine',
'workerChunkLoading',
'enabledLibraryTypes',
'environment',
Expand Down
4 changes: 0 additions & 4 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ declare namespace Config {
type RspackOutput = Required<NonNullable<Configuration['output']>>;

class Output extends ChainedMap<Config> {
auxiliaryComment(value: RspackOutput['auxiliaryComment']): this;
assetModuleFilename(value: RspackOutput['assetModuleFilename']): this;
bundlerInfo(value: RspackOutput['bundlerInfo']): this;
chunkFilename(value: RspackOutput['chunkFilename']): this;
Expand Down Expand Up @@ -216,8 +215,6 @@ declare namespace Config {
hotUpdateGlobal(value: RspackOutput['hotUpdateGlobal']): this;
hotUpdateMainFilename(value: RspackOutput['hotUpdateMainFilename']): this;
library(value: RspackOutput['library']): this;
libraryExport(value: RspackOutput['libraryExport']): this;
libraryTarget(value: RspackOutput['libraryTarget']): this;
importFunctionName(value: RspackOutput['importFunctionName']): this;
path(value: RspackOutput['path']): this;
pathinfo(value: RspackOutput['pathinfo']): this;
Expand All @@ -230,7 +227,6 @@ declare namespace Config {
strictModuleExceptionHandling(
value: RspackOutput['strictModuleExceptionHandling'],
): this;
umdNamedDefine(value: RspackOutput['umdNamedDefine']): this;
workerChunkLoading(value: RspackOutput['workerChunkLoading']): this;
enabledLibraryTypes(value: RspackOutput['enabledLibraryTypes']): this;
environment(value: RspackOutput['environment']): this;
Expand Down
11 changes: 1 addition & 10 deletions types/test/rspack-chain-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,7 @@ config
.entryPoints.delete('main')
.end()
// output
.output.auxiliaryComment('Test Comment')
.auxiliaryComment({
root: 'Root Comment',
commonjs: 'CommonJS Comment',
commonjs2: 'CommonJS2 Comment',
amd: 'AMD Comment',
})
.output
.bundlerInfo({
force: false,
})
Expand All @@ -60,15 +54,12 @@ config
.hotUpdateChunkFilename('update')
.hotUpdateMainFilename('main')
.library('var')
.libraryExport(['MyModule', 'MySubModule'])
.libraryTarget('var')
.path('/')
.pathinfo(true)
.publicPath('/')
.sourceMapFilename('index.js.map')
.strictModuleExceptionHandling(true)
.iife(true)
.umdNamedDefine(true)
.webassemblyModuleFilename('[id].[hash].wasm')
.clean({
keep: 'foo',
Expand Down
Loading