@arcgis/components-build-utils 5.1.0-next.48 → 5.1.0-next.49

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/dist/index.cjs CHANGED
@@ -277,7 +277,7 @@ function vitePresetPlugin({
277
277
  // This dependency pulls in many others. Since components-build-utils has a
278
278
  // single entry point, we load a large module tree needlessly. To avoid,
279
279
  // load the plugin on demand.
280
- import("vite-plugin-dts").then(
280
+ dtsOptions === false ? void 0 : import("vite-plugin-dts").then(
281
281
  ({ default: dts }) => dts({
282
282
  logLevel: "warn",
283
283
  // Copies .d.ts files to d.cjs file for CommonJS.
package/dist/index.js CHANGED
@@ -253,7 +253,7 @@ function vitePresetPlugin({
253
253
  // This dependency pulls in many others. Since components-build-utils has a
254
254
  // single entry point, we load a large module tree needlessly. To avoid,
255
255
  // load the plugin on demand.
256
- import("vite-plugin-dts").then(
256
+ dtsOptions === false ? void 0 : import("vite-plugin-dts").then(
257
257
  ({ default: dts }) => dts({
258
258
  logLevel: "warn",
259
259
  // Copies .d.ts files to d.cjs file for CommonJS.
package/dist/vite.d.cts CHANGED
@@ -7,8 +7,8 @@ import { default as dts } from 'vite-plugin-dts';
7
7
  */
8
8
  export declare function vitePresetPlugin({ dtsOptions, externalize, bundleIn, }?: DependencyManagementOptions & {
9
9
  /** Additional options for `vite-plugin-dts` */
10
- dtsOptions?: Parameters<typeof dts>[0];
11
- }): [Plugin, Plugin, Promise<Plugin>];
10
+ dtsOptions?: Parameters<typeof dts>[0] | false;
11
+ }): [Plugin, Plugin, Promise<Plugin> | undefined];
12
12
  /**
13
13
  * Options for externalizing dependencies.
14
14
  */
package/dist/vite.d.ts CHANGED
@@ -7,8 +7,8 @@ import { default as dts } from 'vite-plugin-dts';
7
7
  */
8
8
  export declare function vitePresetPlugin({ dtsOptions, externalize, bundleIn, }?: DependencyManagementOptions & {
9
9
  /** Additional options for `vite-plugin-dts` */
10
- dtsOptions?: Parameters<typeof dts>[0];
11
- }): [Plugin, Plugin, Promise<Plugin>];
10
+ dtsOptions?: Parameters<typeof dts>[0] | false;
11
+ }): [Plugin, Plugin, Promise<Plugin> | undefined];
12
12
  /**
13
13
  * Options for externalizing dependencies.
14
14
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/components-build-utils",
3
- "version": "5.1.0-next.48",
3
+ "version": "5.1.0-next.49",
4
4
  "description": "Collection of common internal build-time patterns and utilities for ArcGIS Maps SDK for JavaScript components.",
5
5
  "homepage": "https://developers.arcgis.com/javascript/latest/",
6
6
  "type": "module",