@rspack/cli 1.7.0-beta.1 → 1.7.0

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.
@@ -0,0 +1,28 @@
1
+ var __webpack_modules__ = {};
2
+ var __webpack_module_cache__ = {};
3
+ function __webpack_require__(moduleId) {
4
+ var cachedModule = __webpack_module_cache__[moduleId];
5
+ if (void 0 !== cachedModule) return cachedModule.exports;
6
+ var module = __webpack_module_cache__[moduleId] = {
7
+ id: moduleId,
8
+ loaded: false,
9
+ exports: {}
10
+ };
11
+ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
12
+ module.loaded = true;
13
+ return module.exports;
14
+ }
15
+ __webpack_require__.m = __webpack_modules__;
16
+ (()=>{
17
+ __webpack_require__.add = function(modules) {
18
+ Object.assign(__webpack_require__.m, modules);
19
+ };
20
+ })();
21
+ (()=>{
22
+ __webpack_require__.nmd = (module)=>{
23
+ module.paths = [];
24
+ if (!module.children) module.children = [];
25
+ return module;
26
+ };
27
+ })();
28
+ export { __webpack_require__ };
package/dist/types.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- import type { RspackCLI } from "./cli";
2
- export type { Configuration } from "@rspack/core";
1
+ import type { RspackCLI } from './cli';
2
+ export type { Configuration } from '@rspack/core';
3
3
  export type LogHandler = (value: any) => void;
4
4
  export type RspackCLIColors = {
5
5
  isColorSupported: boolean;
6
- } & Omit<typeof import("picocolors"), "createColors">;
6
+ } & Omit<typeof import('picocolors'), 'createColors'>;
7
7
  export interface RspackCLILogger {
8
8
  error: LogHandler;
9
9
  warn: LogHandler;
@@ -1,5 +1,5 @@
1
- import type { MultiRspackOptions, RspackOptions } from "@rspack/core";
2
- import type { CommonOptions } from "./options";
1
+ import type { MultiRspackOptions, RspackOptions } from '@rspack/core';
2
+ import type { CommonOptions } from './options';
3
3
  export declare function compile(sourcecode: string, filename: string): string;
4
4
  export type LoadedRspackConfig = undefined | RspackOptions | MultiRspackOptions | ((env: Record<string, any>, argv?: Record<string, any>) => RspackOptions | MultiRspackOptions);
5
5
  /**
@@ -1,4 +1,4 @@
1
- import type { Command } from "cac";
1
+ import type { Command } from 'cac';
2
2
  /**
3
3
  * Apply common options for all commands
4
4
  */
@@ -1,2 +1,2 @@
1
- declare const rspack: (typeof import("@rspack/core"))["rspack"];
1
+ declare const rspack: (typeof import('@rspack/core'))['rspack'];
2
2
  export { rspack };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack/cli",
3
- "version": "1.7.0-beta.1",
3
+ "version": "1.7.0",
4
4
  "description": "CLI for rspack",
5
5
  "homepage": "https://rspack.rs",
6
6
  "bugs": "https://github.com/web-infra-dev/rspack/issues",
@@ -34,7 +34,7 @@
34
34
  "webpack-bundle-analyzer": "4.10.2"
35
35
  },
36
36
  "devDependencies": {
37
- "@rslib/core": "0.18.5",
37
+ "@rslib/core": "0.19.0",
38
38
  "@types/webpack-bundle-analyzer": "^4.7.0",
39
39
  "cac": "^6.7.14",
40
40
  "concat-stream": "^2.0.0",
@@ -44,8 +44,8 @@
44
44
  "pirates": "^4.0.7",
45
45
  "ts-node": "^10.9.2",
46
46
  "typescript": "^5.9.3",
47
- "@rspack/test-tools": "1.7.0-beta.1",
48
- "@rspack/core": "1.7.0-beta.1"
47
+ "@rspack/test-tools": "1.7.0",
48
+ "@rspack/core": "1.7.0"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "@rspack/core": "^1.0.0-alpha || ^1.x"