@ms-cloudpack/bundler-utilities 0.1.14 → 0.1.16

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.
@@ -1,3 +1,4 @@
1
1
  /** Default ES syntax level. 2022 is the minimum for top-level await. */
2
2
  export declare const defaultTargetSyntax = "es2022";
3
+ export declare const base64AssetExtensions: string[];
3
4
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,eAAO,MAAM,mBAAmB,WAAW,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,eAAO,MAAM,mBAAmB,WAAW,CAAC;AAE5C,eAAO,MAAM,qBAAqB,UAkBjC,CAAC"}
package/lib/constants.js CHANGED
@@ -1,3 +1,22 @@
1
1
  /** Default ES syntax level. 2022 is the minimum for top-level await. */
2
2
  export const defaultTargetSyntax = 'es2022';
3
+ export const base64AssetExtensions = [
4
+ '.aac',
5
+ '.bmp',
6
+ '.gif',
7
+ '.jpeg',
8
+ '.jpg',
9
+ '.mp3',
10
+ '.mp4',
11
+ '.ogg',
12
+ '.otf',
13
+ '.png',
14
+ '.svg',
15
+ '.ttf',
16
+ '.wav',
17
+ '.webp',
18
+ '.woff',
19
+ '.woff2',
20
+ '.eot',
21
+ ];
3
22
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,MAAM,CAAC,MAAM,mBAAmB,GAAG,QAAQ,CAAC","sourcesContent":["/** Default ES syntax level. 2022 is the minimum for top-level await. */\nexport const defaultTargetSyntax = 'es2022';\n"]}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,MAAM,CAAC,MAAM,mBAAmB,GAAG,QAAQ,CAAC;AAE5C,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,MAAM;IACN,MAAM;IACN,MAAM;IACN,OAAO;IACP,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,OAAO;IACP,OAAO;IACP,QAAQ;IACR,MAAM;CACP,CAAC","sourcesContent":["/** Default ES syntax level. 2022 is the minimum for top-level await. */\nexport const defaultTargetSyntax = 'es2022';\n\nexport const base64AssetExtensions = [\n '.aac',\n '.bmp',\n '.gif',\n '.jpeg',\n '.jpg',\n '.mp3',\n '.mp4',\n '.ogg',\n '.otf',\n '.png',\n '.svg',\n '.ttf',\n '.wav',\n '.webp',\n '.woff',\n '.woff2',\n '.eot',\n];\n"]}
package/lib/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { defaultTargetSyntax } from './constants.js';
1
+ export { defaultTargetSyntax, base64AssetExtensions } from './constants.js';
2
2
  export { getSwcConfig } from './getSwcConfig.js';
3
3
  export { shouldExternalizePackage } from './shouldExternalizePackage.js';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC"}
package/lib/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { defaultTargetSyntax } from './constants.js';
1
+ export { defaultTargetSyntax, base64AssetExtensions } from './constants.js';
2
2
  export { getSwcConfig } from './getSwcConfig.js';
3
3
  export { shouldExternalizePackage } from './shouldExternalizePackage.js';
4
4
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC","sourcesContent":["export { defaultTargetSyntax } from './constants.js';\nexport { getSwcConfig } from './getSwcConfig.js';\nexport { shouldExternalizePackage } from './shouldExternalizePackage.js';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC","sourcesContent":["export { defaultTargetSyntax, base64AssetExtensions } from './constants.js';\nexport { getSwcConfig } from './getSwcConfig.js';\nexport { shouldExternalizePackage } from './shouldExternalizePackage.js';\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ms-cloudpack/bundler-utilities",
3
- "version": "0.1.14",
3
+ "version": "0.1.16",
4
4
  "description": "Utilities used by multiple bundlers.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "@ms-cloudpack/json-utilities": "^0.1.8",
18
- "@ms-cloudpack/package-utilities": "^10.4.1",
18
+ "@ms-cloudpack/package-utilities": "^10.4.2",
19
19
  "@ms-cloudpack/path-string-parsing": "^1.2.5",
20
20
  "get-tsconfig": "^4.7.2",
21
21
  "tsconfig-to-swcconfig": "^2.7.0"