Skip to content

Commit

Permalink
make it build
Browse files Browse the repository at this point in the history
  • Loading branch information
notV4l committed Mar 21, 2024
1 parent 557d02c commit cd01dcc
Show file tree
Hide file tree
Showing 44 changed files with 586 additions and 207 deletions.
2 changes: 1 addition & 1 deletion web/codegen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ generates:
src/generated/graphql.ts:
plugins:
- "typescript"
# - "typescript-operations"
- "typescript-operations"
- "typescript-react-query"
config:
addInfiniteQuery: true
Expand Down
18 changes: 10 additions & 8 deletions web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@ const nextConfig = {
};


// "@next/bundle-analyzer": "^14.1.1",
// import bundleAnalyzer from "@next/bundle-analyzer";

// const withBundleAnalyzer = bundleAnalyzer({
// enabled: true//process.env.ANALYZE === 'true',
// })


import nextPWA from "next-pwa";

const withPWA = nextPWA({
Expand All @@ -36,3 +28,13 @@ const withPWA = nextPWA({


export default withPWA(nextConfig)


// "@next/bundle-analyzer": "^14.1.1",
// import bundleAnalyzer from "@next/bundle-analyzer";

// const withBundleAnalyzer = bundleAnalyzer({
// enabled: true//process.env.ANALYZE === 'true',
// })

// export default withBundleAnalyzer(withPWA(nextConfig))
7 changes: 4 additions & 3 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"type": "module",
"scripts": {
"dev": "next dev",
"dev": "next dev --turbo",
"build": "next build",
"start": "next start",
"lint": "next lint",
Expand All @@ -25,8 +25,9 @@
"@dojoengine/utils": "file:../../dojo-packages/packages/utils",
"@emotion/react": "^11.10.6",
"@emotion/styled": "^11.10.6",
"@next/bundle-analyzer": "^14.1.4",
"@starknet-react/chains": "^0.1.7",
"@starknet-react/core": "^2.4.0",
"@starknet-react/core": "^2.4.0",
"@vercel/analytics": "^1.0.2",
"eslint": "8.36.0",
"eslint-config-next": "14.1.0",
Expand All @@ -38,7 +39,7 @@
"howler": "^2.2.3",
"mobx": "^6.10.2",
"mobx-react-lite": "^4.0.5",
"next": "^14.1.0",
"next": "14.2.0-canary.33",
"next-pwa": "^5.6.0",
"react": "^18.2.0",
"react-countdown": "^2.3.5",
Expand Down
Loading

0 comments on commit cd01dcc

Please sign in to comment.