@bleedingdev/modern-js-builder 3.8.3-ultramodern.6 → 3.9.0-ultramodern.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import type { RsbuildConfig, RsbuildInstance, RsbuildPlugin } from '@rsbuild/core';
2
- import type { BuilderConfig, CreateBuilderCommonOptions, CreateBuilderOptions } from './types';
2
+ import type { BuilderConfig, CreateBuilderCommonOptions, CreateBuilderOptions } from './types.js';
3
3
  export declare function parseConfig(builderConfig: BuilderConfig, options: CreateBuilderCommonOptions): Promise<{
4
4
  rsbuildConfig: RsbuildConfig;
5
5
  rsbuildPlugins: RsbuildPlugin[];
@@ -1,8 +1,8 @@
1
- import { type BuilderInstance, createRspackBuilder } from './createBuilder';
2
- import type { CreateBuilderOptions } from './types';
1
+ import { type BuilderInstance, createRspackBuilder } from './createBuilder.js';
2
+ import type { CreateBuilderOptions } from './types.js';
3
3
  export { type ChainIdentifier, type ConfigChain, logger, type NormalizedConfig, type RsbuildConfig, type RsbuildContext, type RsbuildPlugin, type RsbuildPlugins, type RsbuildTarget, type Rspack, type RspackChain, } from '@rsbuild/core';
4
- export { parseConfig as parseRspackConfig } from './createBuilder';
5
- export { castArray, isHtmlDisabled, RUNTIME_CHUNK_NAME, RUNTIME_CHUNK_REGEX, SERVICE_WORKER_ENVIRONMENT_NAME, } from './shared/utils';
6
- export type { BuilderConfig, BundlerType, CacheGroup, MetaOptions, MultiStats, RspackConfig, Stats, ToolsDevServerConfig, } from './types';
4
+ export { parseConfig as parseRspackConfig } from './createBuilder.js';
5
+ export { castArray, isHtmlDisabled, RUNTIME_CHUNK_NAME, RUNTIME_CHUNK_REGEX, SERVICE_WORKER_ENVIRONMENT_NAME, } from './shared/utils.js';
6
+ export type { BuilderConfig, BundlerType, CacheGroup, MetaOptions, MultiStats, RspackConfig, Stats, ToolsDevServerConfig, } from './types.js';
7
7
  export type { BuilderInstance, CreateBuilderOptions };
8
8
  export { createRspackBuilder as createBuilder };
@@ -1,3 +1,3 @@
1
1
  import type { RsbuildPlugin } from '@rsbuild/core';
2
- import type { DistPath } from '../types';
2
+ import type { DistPath } from '../types.js';
3
3
  export declare const pluginEnvironmentDefaults: (distPath?: DistPath) => RsbuildPlugin;
@@ -1,3 +1,3 @@
1
1
  import type { RsbuildPlugin } from '@rsbuild/core';
2
- import type { ChainedGlobalVars } from '../types';
2
+ import type { ChainedGlobalVars } from '../types.js';
3
3
  export declare const pluginGlobalVars: (options?: ChainedGlobalVars) => RsbuildPlugin;
@@ -1,5 +1,5 @@
1
1
  import { type RsbuildPlugin } from '@rsbuild/core';
2
- import type { ToolsAutoprefixerConfig } from '../types';
2
+ import type { ToolsAutoprefixerConfig } from '../types.js';
3
3
  export declare const loadPostcssPlugin: (name: string, appRootPath: string) => any;
4
4
  export interface PluginPostcssOptions {
5
5
  autoprefixer?: ToolsAutoprefixerConfig;
@@ -1,5 +1,5 @@
1
1
  import type { DevConfig, ServerConfig } from '@rsbuild/core';
2
- import type { BuilderConfig, ToolsDevServerConfig } from '../types';
2
+ import type { BuilderConfig, ToolsDevServerConfig } from '../types.js';
3
3
  export declare const transformToRsbuildServerOptions: (dev: NonNullable<BuilderConfig['dev']>, devServer: ToolsDevServerConfig, server?: BuilderConfig['server']) => {
4
4
  rsbuildDev: DevConfig;
5
5
  rsbuildServer: ServerConfig;
@@ -1,5 +1,5 @@
1
1
  import { type RsbuildConfig, type RsbuildPlugin } from '@rsbuild/core';
2
- import type { BuilderConfig, CreateBuilderCommonOptions } from '../types';
2
+ import type { BuilderConfig, CreateBuilderCommonOptions } from '../types.js';
3
3
  /** Determine if a file path is a CSS module when disableCssModuleExtension is enabled. */
4
4
  export declare const isLooseCssModules: (path: string) => boolean;
5
5
  export declare function parseCommonConfig(builderConfig: BuilderConfig, options?: CreateBuilderCommonOptions): Promise<{
@@ -1,4 +1,4 @@
1
- import { disabledRscRuntime } from './rscDisabledRuntimeError';
1
+ import { disabledRscRuntime } from './rscDisabledRuntimeError.js';
2
2
  export declare const createFromFetch: typeof disabledRscRuntime;
3
3
  export declare const createFromReadableStream: typeof disabledRscRuntime;
4
4
  export declare const createServerReference: typeof disabledRscRuntime;
@@ -1,4 +1,4 @@
1
- import { disabledRscRuntime } from './rscDisabledRuntimeError';
1
+ import { disabledRscRuntime } from './rscDisabledRuntimeError.js';
2
2
  export declare const createFromFetch: typeof disabledRscRuntime;
3
3
  export declare const createFromReadableStream: typeof disabledRscRuntime;
4
4
  export declare const createServerReference: typeof disabledRscRuntime;
@@ -1,4 +1,4 @@
1
- import { disabledRscRuntime } from './rscDisabledRuntimeError';
1
+ import { disabledRscRuntime } from './rscDisabledRuntimeError.js';
2
2
  export declare const createFromFetch: typeof disabledRscRuntime;
3
3
  export declare const createFromNodeStream: typeof disabledRscRuntime;
4
4
  export declare const createFromReadableStream: typeof disabledRscRuntime;
@@ -1,4 +1,4 @@
1
- import { disabledRscRuntime } from './rscDisabledRuntimeError';
1
+ import { disabledRscRuntime } from './rscDisabledRuntimeError.js';
2
2
  export declare const createServerEntry: typeof disabledRscRuntime;
3
3
  export declare const createTemporaryReferenceSet: typeof disabledRscRuntime;
4
4
  export declare const decodeAction: typeof disabledRscRuntime;
@@ -1,4 +1,4 @@
1
- import { disabledRscRuntime } from './rscDisabledRuntimeError';
1
+ import { disabledRscRuntime } from './rscDisabledRuntimeError.js';
2
2
  export declare const createServerEntry: typeof disabledRscRuntime;
3
3
  export declare const createTemporaryReferenceSet: typeof disabledRscRuntime;
4
4
  export declare const decodeAction: typeof disabledRscRuntime;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bleedingdev/modern-js-builder",
3
- "version": "3.8.3-ultramodern.6",
3
+ "version": "3.9.0-ultramodern.1",
4
4
  "description": "A builder for Modern.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,7 +26,7 @@
26
26
  "dist"
27
27
  ],
28
28
  "dependencies": {
29
- "@modern-js/utils": "npm:@bleedingdev/modern-js-utils@3.8.3-ultramodern.6",
29
+ "@modern-js/utils": "npm:@bleedingdev/modern-js-utils@3.9.0-ultramodern.1",
30
30
  "@rsbuild/core": "2.2.0",
31
31
  "@rsbuild/plugin-assets-retry": "2.0.2",
32
32
  "@rsbuild/plugin-check-syntax": "2.0.1",
@@ -59,9 +59,9 @@
59
59
  "ts-deepmerge": "8.0.0"
60
60
  },
61
61
  "devDependencies": {
62
- "@modern-js/types": "npm:@bleedingdev/modern-js-types@3.8.3-ultramodern.6",
62
+ "@modern-js/types": "npm:@bleedingdev/modern-js-types@3.9.0-ultramodern.1",
63
63
  "@rsdoctor/rspack-plugin": "^1.6.3",
64
- "@rslib/core": "0.23.2",
64
+ "@rslib/core": "1.0.0",
65
65
  "@scripts/rstest-config": "2.66.0",
66
66
  "@types/html-minifier-terser": "^7.0.2",
67
67
  "@types/lodash": "^4.17.24",