@unpackjs/core 3.7.8 → 3.8.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.
Files changed (51) hide show
  1. package/compiled/css-loader/index.js +20 -20
  2. package/compiled/less-loader/index.js +8 -8
  3. package/compiled/postcss-loader/index.js +8 -8
  4. package/compiled/sass-loader/index.js +8 -8
  5. package/dist/index.js +834 -562
  6. package/dist/rslib-runtime.js +15 -0
  7. package/dist/transformLoader.js +11 -0
  8. package/dist/{typedCssModulesLoader.mjs → typedCssModulesLoader.js} +5 -13
  9. package/dist-types/bundler-config/cache.d.ts.map +1 -1
  10. package/dist-types/bundler-config/html.d.ts +6 -0
  11. package/dist-types/bundler-config/html.d.ts.map +1 -0
  12. package/dist-types/bundler-config/index.d.ts.map +1 -1
  13. package/dist-types/bundler-config/loaders/transformLoader.d.ts +5 -0
  14. package/dist-types/bundler-config/loaders/transformLoader.d.ts.map +1 -0
  15. package/dist-types/bundler-config/plugins/progress/helpers.d.ts.map +1 -1
  16. package/dist-types/bundler-config/plugins/progress/index.d.ts +2 -2
  17. package/dist-types/bundler-config/plugins/progress/index.d.ts.map +1 -1
  18. package/dist-types/bundler-config/plugins/registerHooks.d.ts +6 -0
  19. package/dist-types/bundler-config/plugins/registerHooks.d.ts.map +1 -0
  20. package/dist-types/constants.d.ts +3 -0
  21. package/dist-types/constants.d.ts.map +1 -1
  22. package/dist-types/createUnpack.d.ts +4 -1
  23. package/dist-types/createUnpack.d.ts.map +1 -1
  24. package/dist-types/global.d.ts +4 -2
  25. package/dist-types/global.d.ts.map +1 -1
  26. package/dist-types/index.d.ts +1 -0
  27. package/dist-types/index.d.ts.map +1 -1
  28. package/dist-types/plugin.d.ts +4 -1
  29. package/dist-types/plugin.d.ts.map +1 -1
  30. package/dist-types/plugins/browserLogs.d.ts +3 -0
  31. package/dist-types/plugins/browserLogs.d.ts.map +1 -0
  32. package/dist-types/plugins/fileSize.d.ts +3 -0
  33. package/dist-types/plugins/fileSize.d.ts.map +1 -0
  34. package/dist-types/plugins/prebundle.d.ts +3 -0
  35. package/dist-types/plugins/prebundle.d.ts.map +1 -0
  36. package/dist-types/run/dev.d.ts +4 -1
  37. package/dist-types/run/dev.d.ts.map +1 -1
  38. package/dist-types/types/config.d.ts +24 -26
  39. package/dist-types/types/config.d.ts.map +1 -1
  40. package/dist-types/types/plugin.d.ts +22 -2
  41. package/dist-types/types/plugin.d.ts.map +1 -1
  42. package/dist-types/utils.d.ts +13 -1
  43. package/dist-types/utils.d.ts.map +1 -1
  44. package/package.json +9 -7
  45. package/dist/transformDeepImportLoader.mjs +0 -82
  46. package/dist-types/bundler-config/loaders/transformDeepImportLoader.d.ts +0 -5
  47. package/dist-types/bundler-config/loaders/transformDeepImportLoader.d.ts.map +0 -1
  48. package/dist-types/prebundleDeps.d.ts +0 -5
  49. package/dist-types/prebundleDeps.d.ts.map +0 -1
  50. package/dist-types/reporter.d.ts +0 -8
  51. package/dist-types/reporter.d.ts.map +0 -1
@@ -1,5 +0,0 @@
1
- import type { Rspack } from '../../types';
2
- export default function (this: Rspack.LoaderContext<{
3
- packages: string[];
4
- }>, content: string): string;
5
- //# sourceMappingURL=transformDeepImportLoader.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"transformDeepImportLoader.d.ts","sourceRoot":"","sources":["../../../src/bundler-config/loaders/transformDeepImportLoader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAOvC,MAAM,CAAC,OAAO,WACZ,IAAI,EAAE,MAAM,CAAC,aAAa,CAAC;IAAE,QAAQ,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,EAClD,OAAO,EAAE,MAAM,GACd,MAAM,CAmCR"}
@@ -1,5 +0,0 @@
1
- import type { UnpackConfig } from './types';
2
- export declare const prebundleDeps: ({ unpackConfig, }: {
3
- unpackConfig: UnpackConfig;
4
- }) => Promise<UnpackConfig>;
5
- //# sourceMappingURL=prebundleDeps.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"prebundleDeps.d.ts","sourceRoot":"","sources":["../src/prebundleDeps.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAU,YAAY,EAAE,MAAM,SAAS,CAAA;AAiHnD,eAAO,MAAM,aAAa,GAAU,mBAEjC;IACD,YAAY,EAAE,YAAY,CAAA;CAC3B,KAAG,OAAO,CAAC,YAAY,CAiXvB,CAAA"}
@@ -1,8 +0,0 @@
1
- import type { Rspack } from './types';
2
- type Options = {
3
- root: string;
4
- stats: Rspack.Stats;
5
- };
6
- export declare function printFileSize({ root, stats }: Options): Promise<void>;
7
- export {};
8
- //# sourceMappingURL=reporter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"reporter.d.ts","sourceRoot":"","sources":["../src/reporter.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAGrC,KAAK,OAAO,GAAG;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAC,KAAK,CAAA;CACpB,CAAA;AA6BD,wBAAsB,aAAa,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,OAAO,iBA4F3D"}