@modern-js/uni-builder 0.0.0-nightly-20240818170637 → 0.0.0-nightly-20240819170736

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,4 +1,4 @@
1
- import { type RsbuildPlugin } from '@rsbuild/core';
1
+ import type { RsbuildPlugin } from '@rsbuild/core';
2
2
  /**
3
3
  * should not set babel-loader when babel config not modified
4
4
  */
@@ -1,4 +1,4 @@
1
- import { type DevConfig, type ServerConfig } from '@rsbuild/core';
1
+ import type { DevConfig, ServerConfig } from '@rsbuild/core';
2
2
  import type { UniBuilderConfig, ToolsDevServerConfig } from '../types';
3
3
  export declare const transformToRsbuildServerOptions: (dev: NonNullable<UniBuilderConfig['dev']>, devServer: ToolsDevServerConfig) => {
4
4
  dev: DevConfig;
@@ -1,2 +1,2 @@
1
- import { type RsbuildPlugin } from '@rsbuild/core';
1
+ import type { RsbuildPlugin } from '@rsbuild/core';
2
2
  export declare const pluginAntd: () => RsbuildPlugin;
@@ -1,2 +1,2 @@
1
- import { type RsbuildPlugin } from '@rsbuild/core';
1
+ import type { RsbuildPlugin } from '@rsbuild/core';
2
2
  export declare const pluginArco: () => RsbuildPlugin;
@@ -1,5 +1,5 @@
1
1
  import type { RsbuildPlugin } from '@rsbuild/core';
2
- import { DisableSourceMapOption } from '../../types';
2
+ import type { DisableSourceMapOption } from '../../types';
3
3
  export declare const pluginDevtool: (options: {
4
4
  disableSourceMap?: DisableSourceMapOption;
5
5
  }) => RsbuildPlugin;
@@ -1,4 +1,4 @@
1
- import { type RsbuildPlugin } from '@rsbuild/core';
1
+ import type { RsbuildPlugin } from '@rsbuild/core';
2
2
  export declare function isFileExists(file: string): Promise<boolean>;
3
3
  /**
4
4
  * generate a basic route.json for modern.js server
@@ -1,4 +1,4 @@
1
- import { type RsbuildPlugin } from '@rsbuild/core';
1
+ import type { RsbuildPlugin } from '@rsbuild/core';
2
2
  import { type PluginBabelOptions } from '@rsbuild/plugin-babel';
3
3
  /**
4
4
  * Plugin order:
@@ -1,3 +1,3 @@
1
- import { type RsbuildPlugin } from '@rsbuild/core';
2
- import { ToolsTerserConfig } from '../../types';
1
+ import type { RsbuildPlugin } from '@rsbuild/core';
2
+ import type { ToolsTerserConfig } from '../../types';
3
3
  export declare const pluginMinimize: (userTerserConfig?: ToolsTerserConfig) => RsbuildPlugin;
@@ -1,4 +1,4 @@
1
- import { type ConfigChainWithContext } from '@rsbuild/core';
1
+ import type { ConfigChainWithContext } from '@rsbuild/core';
2
2
  import { type PluginBabelOptions } from '@rsbuild/plugin-babel';
3
3
  import type { RsbuildPlugin } from '@rsbuild/core';
4
4
  import type { Options as RawTSLoaderOptions } from 'ts-loader';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modern-js/uni-builder",
3
- "version": "0.0.0-nightly-20240818170637",
3
+ "version": "0.0.0-nightly-20240819170736",
4
4
  "description": "Unified builder for Modern.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -72,8 +72,8 @@
72
72
  "ts-loader": "9.4.4",
73
73
  "webpack": "^5.93.0",
74
74
  "webpack-subresource-integrity": "5.1.0",
75
- "@modern-js/babel-preset": "0.0.0-nightly-20240818170637",
76
- "@modern-js/utils": "0.0.0-nightly-20240818170637"
75
+ "@modern-js/babel-preset": "0.0.0-nightly-20240819170736",
76
+ "@modern-js/utils": "0.0.0-nightly-20240819170736"
77
77
  },
78
78
  "devDependencies": {
79
79
  "@rsbuild/plugin-swc": "1.0.1-beta.14",
@@ -83,8 +83,8 @@
83
83
  "react-dom": "^18.2.0",
84
84
  "terser": "^5.31.1",
85
85
  "typescript": "^5.3.0",
86
- "@scripts/build": "0.0.0-nightly-20240818170637",
87
- "@scripts/vitest-config": "0.0.0-nightly-20240818170637"
86
+ "@scripts/build": "0.0.0-nightly-20240819170736",
87
+ "@scripts/vitest-config": "0.0.0-nightly-20240819170736"
88
88
  },
89
89
  "publishConfig": {
90
90
  "access": "public",