premieroctet/next-admin

[FEATURE] - Remove the in `dist` in next-admin import path

quentingrchr opened this issue · 0 comments

Summary

Currently when we import next-admin functions and components we include /dist

import { getNextAdminProps } from "@premieroctet/next-admin/dist/appRouter";

Basic Example

It would be better to only expose certains files of our library using the exports property in the package.json

import { getNextAdminProps } from "@premieroctet/next-admin/appRouter";

Drawbacks

No drawbacks, we should just make sure that the docs is updated with the new improved import and that it doesn't break the old /dist import

Unresolved questions

No response