Browse Source

update config

main
root 2 months ago
parent
commit
96ad2129bb
  1. 9
      next.config.js
  2. 9
      package.json
  3. 27
      tsconfig.json

9
next.config.js

@ -35,6 +35,15 @@ const nextConfig = {
},
],
},
typescript: {
ignoreBuildErrors: true,
},
eslint: {
ignoreDuringBuilds: true,
},
trailingSlash: true,
};
module.exports = nextConfig;

9
package.json

@ -4,9 +4,16 @@
"private": true,
"scripts": {
"dev": "next dev",
"lint:es": "eslint --ext .js,.jsx .",
"lint:fix": "eslint --fix --ext .js,.jsx .",
"build": "next build",
"start": "next start",
"lint": "next lint"
"lint": "next lint",
"export": "next export",
"clear-all": "rm -rf .next node_modules",
"re-start": "rm -rf .next node_modules && yarn install && yarn dev",
"re-build": "rm -rf .next node_modules && yarn install && yarn build"
},
"dependencies": {
"@headlessui/react": "^1.7.14",

27
tsconfig.json

@ -14,16 +14,33 @@
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"paths": {
"@/*": ["./src/*"],
"@components/*": ["src/components/*"],
"@containers/*": ["src/containers/*"],
"@contexts/*": ["src/contexts/*"],
"@framework/*": ["src/framework/basic-rest/*"],
"@settings/*": ["src/settings/*"],
"@styles/*": ["src/styles/*"],
"@utils/*": ["src/utils/*"]
},
// "paths": {
// },
"incremental": true,
"baseUrl": ".",
"plugins": [
{
"name": "next"
}
],
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
// "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"include": [
"next-env.d.ts",
"additional.d.ts",
"src/**/*.ts",
"src/**/*.tsx"
],
"exclude": ["node_modules"]
}
Loading…
Cancel
Save