@nestbridge/webpack 2.1.2 → 2.1.3
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.
- package/CHANGELOG.md +8 -0
- package/build/nestbridge.webpack.d.ts +2 -11
- package/build/nestbridge.webpack.js +2 -1458
- package/build/nestbridge.webpack.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @nestbridge/webpack
|
|
2
2
|
|
|
3
|
+
## 2.1.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- cec7886: Fix `Cannot find module '.../typescript/unstable/ast'` when loading `@nestbridge/vite` or `@nestbridge/webpack` in a project that has its own `typescript` (for example 6.x) installed. Each package previously bundled a private copy of its internal `@nestbridge/*` dependencies, so core's `typescript@7` import was resolved against the host project's `typescript` instead of the one core declares. Internal packages are now external, so imports resolve through the declared dependency chain and the bundles shrink accordingly.
|
|
8
|
+
- Updated dependencies [cec7886]
|
|
9
|
+
- @nestbridge/unplugin@2.1.3
|
|
10
|
+
|
|
3
11
|
## 2.1.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -1,19 +1,10 @@
|
|
|
1
|
+
import { NestBridgeOptions, NestBridgeOptions as NestBridgeOptions$1 } from "@nestbridge/unplugin";
|
|
1
2
|
import { WebpackPluginInstance } from "webpack";
|
|
2
|
-
//#region ../unplugin/src/options/nestbridge-options.d.ts
|
|
3
|
-
interface NestBridgeOptions {
|
|
4
|
-
controllers: string | string[];
|
|
5
|
-
resolvers?: string | string[];
|
|
6
|
-
baseURL?: string;
|
|
7
|
-
debug?: boolean;
|
|
8
|
-
outputDir?: string;
|
|
9
|
-
root?: string;
|
|
10
|
-
}
|
|
11
|
-
//#endregion
|
|
12
3
|
//#region src/version.d.ts
|
|
13
4
|
export declare const VERSION: string;
|
|
14
5
|
//#endregion
|
|
15
6
|
//#region src/main.d.ts
|
|
16
|
-
export declare const nestBridge: (options: NestBridgeOptions) => WebpackPluginInstance;
|
|
7
|
+
export declare const nestBridge: (options: NestBridgeOptions$1) => WebpackPluginInstance;
|
|
17
8
|
//#endregion
|
|
18
9
|
export type { NestBridgeOptions };
|
|
19
10
|
//# sourceMappingURL=nestbridge.webpack.d.ts.map
|