Skip to content

Commit

Permalink
Merge pull request #4821 from web-infra-dev/0.5.0
Browse files Browse the repository at this point in the history
release: v0.5.0 proposal
  • Loading branch information
hardfist authored Jan 10, 2024
2 parents a4e9b1f + 0793c70 commit fa4021f
Show file tree
Hide file tree
Showing 410 changed files with 3,325 additions and 9,027 deletions.
2 changes: 0 additions & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ pnpm-lock.yaml

# Loaders

/crates/rspack_loader_sass @web-infra-dev/rspack-dx
/crates/rspack_loader_swc @web-infra-dev/rspack-dx

# Plugins
Expand All @@ -58,7 +57,6 @@ pnpm-lock.yaml
/crates/rspack_plugin_banner @web-infra-dev/rspack-dx
/crates/rspack_plugin_copy @web-infra-dev/rspack-dx
/crates/rspack_plugin_css @web-infra-dev/rspack-ux
/crates/rspack_plugin_dev_friendly_split_chunks @web-infra-dev/rspack-ux
/crates/rspack_plugin_devtool @web-infra-dev/rspack-dx
/crates/rspack_plugin_entry @web-infra-dev/rspack-dx
/crates/rspack_plugin_externals @web-infra-dev/rspack-dx
Expand Down
145 changes: 0 additions & 145 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 0 additions & 33 deletions crates/node_binding/binding.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ export const enum BuiltinPluginName {
WebWorkerTemplatePlugin = 'WebWorkerTemplatePlugin',
MergeDuplicateChunksPlugin = 'MergeDuplicateChunksPlugin',
SplitChunksPlugin = 'SplitChunksPlugin',
OldSplitChunksPlugin = 'OldSplitChunksPlugin',
ShareRuntimePlugin = 'ShareRuntimePlugin',
ContainerPlugin = 'ContainerPlugin',
ContainerReferencePlugin = 'ContainerReferencePlugin',
Expand Down Expand Up @@ -620,15 +619,7 @@ export interface RawBannerPluginOptions {

export interface RawBuiltins {
css?: RawCssPluginConfig
presetEnv?: RawPresetEnv
treeShaking: string
react: RawReactOptions
decorator?: RawDecoratorOptions
noEmitAssets: boolean
emotion?: string
devFriendlySplitChunks: boolean
pluginImport?: Array<RawPluginImportConfig>
relay?: RawRelayConfig
}

export interface RawCacheGroupOptions {
Expand Down Expand Up @@ -744,15 +735,6 @@ export interface RawCssPluginConfig {
modules: RawCssModulesConfig
}

export interface RawDecoratorOptions {
legacy: boolean
emitMetadata: boolean
}

export interface RawDevServer {
hot: boolean
}

export interface RawEntryOptions {
name?: string
runtime?: string
Expand All @@ -771,7 +753,6 @@ export interface RawEntryPluginOptions {
}

export interface RawExperiments {
incrementalRebuild: RawIncrementalRebuild
newSplitChunks: boolean
topLevelAwait: boolean
rspackFuture: RawRspackFuture
Expand Down Expand Up @@ -864,11 +845,6 @@ export interface RawHttpExternalsRspackPluginOptions {
webAsync: boolean
}

export interface RawIncrementalRebuild {
make: boolean
emitAsset: boolean
}

export interface RawInfo {
immutable?: boolean
minimized?: boolean
Expand Down Expand Up @@ -1008,7 +984,6 @@ export interface RawOptions {
devtool: string
optimization: RawOptimizationOptions
stats: RawStatsOptions
devServer: RawDevServer
snapshot: RawSnapshotOptions
cache: RawCacheOptions
experiments: RawExperiments
Expand Down Expand Up @@ -1076,12 +1051,6 @@ export interface RawPluginImportConfig {
ignoreStyleComponent?: Array<string>
}

export interface RawPresetEnv {
targets: Array<string>
mode?: 'usage' | 'entry'
coreJs?: string
}

export interface RawProgressPluginOptions {
prefix: string
profile: boolean
Expand Down Expand Up @@ -1152,9 +1121,7 @@ export interface RawResolveTsconfigOptions {
}

export interface RawRspackFuture {
newResolver: boolean
newTreeshaking: boolean
disableTransformByDefault: boolean
}

export interface RawRuleSetCondition {
Expand Down
2 changes: 1 addition & 1 deletion crates/node_binding/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rspack/binding",
"version": "0.4.5",
"version": "0.5.0",
"license": "MIT",
"description": "Node binding for rspack",
"main": "binding.js",
Expand Down
1 change: 0 additions & 1 deletion crates/rspack/tests/fixtures/simple-with-query/b.js

This file was deleted.

1 change: 0 additions & 1 deletion crates/rspack/tests/fixtures/simple-with-query/b.jsx

This file was deleted.

Loading

1 comment on commit fa4021f

@rspack-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Benchmark detail: Open

name base current %
10000_development-mode + exec 1.66 s ± 16 ms 1.64 s ± 11 ms -0.88%
10000_development-mode_hmr + exec 1.02 s ± 11 ms 1.01 s ± 4.3 ms -0.98%
10000_production-mode + exec 2.84 s ± 25 ms 2.8 s ± 16 ms -1.44%
threejs_development-mode_10x + exec 2.01 s ± 11 ms 2 s ± 26 ms -0.71%
threejs_development-mode_10x_hmr + exec 1.34 s ± 27 ms 1.32 s ± 12 ms -1.39%
threejs_production-mode_10x + exec 6.23 s ± 63 ms 6.11 s ± 83 ms -1.85%

Please sign in to comment.