@aeriajs/entrypoint 0.0.164 → 0.0.165

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 (2) hide show
  1. package/dist/index.js +1 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -18,10 +18,7 @@ export const getEntrypointPath = async () => {
18
18
  return path.join(process.cwd(), aeriaMain || main);
19
19
  };
20
20
  export const getEntrypoint = async () => {
21
- const entrypoint = await import(await getEntrypointPath());
22
- return entrypoint.default.default
23
- ? entrypoint.default
24
- : entrypoint;
21
+ return import(await getEntrypointPath());
25
22
  };
26
23
  const internalGetCollections = async () => {
27
24
  const entrypoint = await getEntrypoint();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aeriajs/entrypoint",
3
3
  "type": "module",
4
- "version": "0.0.164",
4
+ "version": "0.0.165",
5
5
  "description": "",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",