next.config.mjs 362 B

1234567891011121314151617181920212223
  1. /**
  2. * @type {import('next').NextConfig}
  3. */
  4. const nextConfig = {
  5. experimental: {
  6. appDir: true,
  7. },
  8. webpack(config, options) {
  9. config.resolve = {
  10. ...config.resolve,
  11. fallback: {
  12. 'fs': false,
  13. 'path': false,
  14. 'os': false,
  15. child_process: false
  16. }
  17. }
  18. return config
  19. }
  20. }
  21. export default nextConfig