Skip to content

Commit

Permalink
refactor(ts): migrate to js dir to src dir
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Nov 23, 2023
1 parent b6ad151 commit 9d124a6
Show file tree
Hide file tree
Showing 39 changed files with 2,980 additions and 436 deletions.
File renamed without changes.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@ yarn-error.log*
.env.test.local
.env.production.local
.idea

next-env.d.ts
36 changes: 0 additions & 36 deletions 3b/.gitignore

This file was deleted.

36 changes: 0 additions & 36 deletions 3b/README.md

This file was deleted.

4 changes: 0 additions & 4 deletions 3b/next.config.js

This file was deleted.

27 changes: 0 additions & 27 deletions 3b/package.json

This file was deleted.

6 changes: 0 additions & 6 deletions 3b/postcss.config.js

This file was deleted.

22 changes: 0 additions & 22 deletions 3b/src/app/layout.tsx

This file was deleted.

113 changes: 0 additions & 113 deletions 3b/src/app/page.tsx

This file was deleted.

20 changes: 0 additions & 20 deletions 3b/tailwind.config.ts

This file was deleted.

34 changes: 3 additions & 31 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,32 +1,4 @@
// @ts-check
/** @type {import('next').NextConfig} */
const nextConfig = {}

/**
* @type {import('next').NextConfig}
**/
const nextConfig = {
/**
* Enable static exports for the App Router.
*
* @see https://nextjs.org/docs/pages/building-your-application/deploying/static-exports
*/
output: "export",

/**
* Set base path. This is usually the slug of your repository.
*
* @see https://nextjs.org/docs/app/api-reference/next-config-js/basePath
*/
// basePath: "/2b",

/**
* Disable server-based image optimization. Next.js does not support
* dynamic features with static exports.
*
* @see https://nextjs.org/docs/pages/api-reference/components/image#unoptimized
*/
images: {
unoptimized: true,
},
};

module.exports = nextConfig;
module.exports = nextConfig
Loading

0 comments on commit 9d124a6

Please sign in to comment.