wxt 0.14.2-alpha2 → 0.14.2

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.
@@ -122,16 +122,16 @@ interface InlineConfig {
122
122
  * @default "${config.root}/public"
123
123
  */
124
124
  publicDir?: string;
125
- /**
126
- * Directory containing localization files used for translation.
127
- *
128
- * @default "${config.srcDir}/locales"
129
- */
130
- localesDir?: string;
131
125
  /**
132
126
  * @default "${config.srcDir}/entrypoints"
133
127
  */
134
128
  entrypointsDir?: string;
129
+ /**
130
+ * A list of entrypoint names (`"popup"`, `"options"`, etc.) to build. Will speed up the build if
131
+ * your extension has lots of entrypoints, and you don't need to build all of them to develop a
132
+ * feature.
133
+ */
134
+ filterEntrypoints?: string[];
135
135
  /**
136
136
  * Output directory that stored build folders and ZIPs.
137
137
  *
@@ -451,6 +451,7 @@ interface BaseEntrypoint {
451
451
  */
452
452
  outputDir: string;
453
453
  options: BaseEntrypointOptions;
454
+ skipped: boolean;
454
455
  }
455
456
  interface GenericEntrypoint extends BaseEntrypoint {
456
457
  type: 'sandbox' | 'bookmarks' | 'history' | 'newtab' | 'sidepanel' | 'devtools' | 'unlisted-page' | 'unlisted-script' | 'unlisted-style' | 'content-script-style';
@@ -122,16 +122,16 @@ interface InlineConfig {
122
122
  * @default "${config.root}/public"
123
123
  */
124
124
  publicDir?: string;
125
- /**
126
- * Directory containing localization files used for translation.
127
- *
128
- * @default "${config.srcDir}/locales"
129
- */
130
- localesDir?: string;
131
125
  /**
132
126
  * @default "${config.srcDir}/entrypoints"
133
127
  */
134
128
  entrypointsDir?: string;
129
+ /**
130
+ * A list of entrypoint names (`"popup"`, `"options"`, etc.) to build. Will speed up the build if
131
+ * your extension has lots of entrypoints, and you don't need to build all of them to develop a
132
+ * feature.
133
+ */
134
+ filterEntrypoints?: string[];
135
135
  /**
136
136
  * Output directory that stored build folders and ZIPs.
137
137
  *
@@ -451,6 +451,7 @@ interface BaseEntrypoint {
451
451
  */
452
452
  outputDir: string;
453
453
  options: BaseEntrypointOptions;
454
+ skipped: boolean;
454
455
  }
455
456
  interface GenericEntrypoint extends BaseEntrypoint {
456
457
  type: 'sandbox' | 'bookmarks' | 'history' | 'newtab' | 'sidepanel' | 'devtools' | 'unlisted-page' | 'unlisted-script' | 'unlisted-style' | 'content-script-style';