Skip to content

Commit

Permalink
Switch back to basic next
Browse files Browse the repository at this point in the history
  • Loading branch information
benzumbrunn committed Feb 6, 2025
1 parent ce3195b commit d29854a
Show file tree
Hide file tree
Showing 4 changed files with 256 additions and 1,294 deletions.
39 changes: 0 additions & 39 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,49 +2,10 @@
command = "pnpm run build"
publish = ".next"

[[plugins]]
package = "@netlify/plugin-lighthouse"

[[plugins]]
package = "@netlify/plugin-nextjs"

[[headers]]
for = "/keys/[email protected]"
[headers.values]
Content-Type = "text/plain"

[[redirects]]
from = "http://defichain.com/*"
to = "https://defichain.com/:splat"
status = 301
force = true

[[redirects]]
from = "http://zhs.defichain.com/*"
to = "https://defichain.com/zh-Hans/:splat"
status = 301
force = true

[[redirects]]
from = "https://zhs.defichain.com/*"
to = "https://defichain.com/zh-Hans/:splat"
status = 301
force = true

[[redirects]]
from = "http://zht.defichain.com/*"
to = "https://defichain.com/zh-Hant/:splat"
status = 301
force = true

[[redirects]]
from = "https://zht.defichain.com/*"
to = "https://defichain.com/zh-Hant/:splat"
status = 301
force = true

[[redirects]]
from = "https://defichain.com/dfi-token"
to = "https://defichain.com/dfi"
status = 301
force = true
1 change: 0 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ const securityHeaders = [
];

module.exports = {
output: "export",
experimental: {
forceSwcTransforms: true,
},
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
"@prismicio/react": "^2.7.3",
"@waveshq/standard-defichain-jellyfishsdk": "^3.0.1",
"@waveshq/standard-web": "^3.0.1",
"next": "13.5.8",
"react": "18.2.0",
"react-dom": "18.2.0",
"bignumber.js": "^9.1.2",
"classnames": "^2.3.2",
"gray-matter": "^4.0.3",
Expand All @@ -38,8 +41,6 @@
},
"devDependencies": {
"@cypress/code-coverage": "^3.12.9",
"@netlify/plugin-lighthouse": "^5.0.0",
"@netlify/plugin-nextjs": "^4.41.1",
"@tailwindcss/typography": "^0.5.10",
"@testing-library/cypress": "^9.0.0",
"@types/lodash": "^4.14.201",
Expand All @@ -61,4 +62,4 @@
"pnpm": ">=8.10.0"
},
"packageManager": "[email protected]"
}
}
Loading

0 comments on commit d29854a

Please sign in to comment.