We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue: Project is split between src/ and pages/ (see: https://github.com/pankod/refine/tree/master/examples/refine-next) which works well when doing local development with yarn dev doing a production build of the app via yarn build leads to an incomplete build with next ignoring all pages under src/pages (see: Caveats https://nextjs.org/docs/advanced-features/src-directory).
yarn dev
yarn build
src/pages
Workaround: Currently including the src directory in the deployment bundle does the trick but leads to an unoptimized deployment
src
Fix: Superplate should create a refine-nextjs app that works with yarn dev and with yarn build
The text was updated successfully, but these errors were encountered:
mlhekinci
No branches or pull requests
Issue:
Project is split between src/ and pages/ (see: https://github.com/pankod/refine/tree/master/examples/refine-next) which works well when doing local development with
yarn dev
doing a production build of the app viayarn build
leads to an incomplete build with next ignoring all pages undersrc/pages
(see: Caveats https://nextjs.org/docs/advanced-features/src-directory).Workaround:
Currently including the
src
directory in the deployment bundle does the trick but leads to an unoptimized deploymentFix:
Superplate should create a refine-nextjs app that works with
yarn dev
and withyarn build
The text was updated successfully, but these errors were encountered: