@utoo/pack-shared 1.2.8 → 1.2.9

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/cjs/config.d.ts CHANGED
@@ -89,6 +89,8 @@ export interface ConfigComplete {
89
89
  type?: "standalone" | "export";
90
90
  filename?: string;
91
91
  chunkFilename?: string;
92
+ cssFilename?: string;
93
+ assetModuleFilename?: string;
92
94
  clean?: boolean;
93
95
  copy?: Array<{
94
96
  from: string;
@@ -146,7 +148,6 @@ export interface ConfigComplete {
146
148
  useLightningcss?: boolean;
147
149
  };
148
150
  styledComponents?: boolean | StyledComponentsConfig;
149
- emotion?: boolean | EmotionConfig;
150
151
  };
151
152
  images?: {
152
153
  inlineLimit?: number;
@@ -197,19 +198,6 @@ export interface StyledComponentsConfig {
197
198
  pure?: boolean;
198
199
  cssProp?: boolean;
199
200
  }
200
- export interface EmotionConfig {
201
- sourceMap?: boolean;
202
- autoLabel?: "dev-only" | "always" | "never";
203
- labelFormat?: string;
204
- importMap?: {
205
- [importName: string]: {
206
- [exportName: string]: {
207
- canonicalImport?: [string, string];
208
- styledBaseImport?: [string, string];
209
- };
210
- };
211
- };
212
- }
213
201
  export interface BundleOptions {
214
202
  /**
215
203
  * The utoo pack configs.
package/esm/config.d.ts CHANGED
@@ -89,6 +89,8 @@ export interface ConfigComplete {
89
89
  type?: "standalone" | "export";
90
90
  filename?: string;
91
91
  chunkFilename?: string;
92
+ cssFilename?: string;
93
+ assetModuleFilename?: string;
92
94
  clean?: boolean;
93
95
  copy?: Array<{
94
96
  from: string;
@@ -146,7 +148,6 @@ export interface ConfigComplete {
146
148
  useLightningcss?: boolean;
147
149
  };
148
150
  styledComponents?: boolean | StyledComponentsConfig;
149
- emotion?: boolean | EmotionConfig;
150
151
  };
151
152
  images?: {
152
153
  inlineLimit?: number;
@@ -197,19 +198,6 @@ export interface StyledComponentsConfig {
197
198
  pure?: boolean;
198
199
  cssProp?: boolean;
199
200
  }
200
- export interface EmotionConfig {
201
- sourceMap?: boolean;
202
- autoLabel?: "dev-only" | "always" | "never";
203
- labelFormat?: string;
204
- importMap?: {
205
- [importName: string]: {
206
- [exportName: string]: {
207
- canonicalImport?: [string, string];
208
- styledBaseImport?: [string, string];
209
- };
210
- };
211
- };
212
- }
213
201
  export interface BundleOptions {
214
202
  /**
215
203
  * The utoo pack configs.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@utoo/pack-shared",
3
- "version": "1.2.8",
3
+ "version": "1.2.9",
4
4
  "main": "cjs/index.js",
5
5
  "module": "esm/index.js",
6
6
  "types": "esm/index.d.ts",