@sveltejs/vite-plugin-svelte 1.2.0 → 1.3.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.
package/dist/index.d.ts CHANGED
@@ -78,9 +78,11 @@ interface PluginOptions {
78
78
  */
79
79
  disableDependencyReinclusion?: boolean | string[];
80
80
  /**
81
- * Force Vite to pre-bundle Svelte libraries
81
+ * Enable support for Vite's dependency optimization to prebundle Svelte libraries.
82
82
  *
83
- * @default false
83
+ * To disable prebundling for a specific library, add it to `optimizeDeps.exclude`.
84
+ *
85
+ * @default true for dev, false for build
84
86
  */
85
87
  prebundleSvelteLibraries?: boolean;
86
88
  /**
@@ -171,6 +173,12 @@ interface ExperimentalOptions {
171
173
  *
172
174
  */
173
175
  sendWarningsToBrowser?: boolean;
176
+ /**
177
+ * disable svelte compile statistics
178
+ *
179
+ * @default false
180
+ */
181
+ disableCompileStats?: 'dev' | 'build' | boolean;
174
182
  }
175
183
  interface InspectorOptions {
176
184
  /**