Skip to content

Commit 33e9fa8

Browse files
committed
Use Netlify
1 parent 96758b8 commit 33e9fa8

File tree

4 files changed

+3
-8
lines changed

4 files changed

+3
-8
lines changed

now.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

www/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# production
88
/dist
99
/tmp
10+
/out
1011

1112
# misc
1213
.DS_Store

www/next.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const node_modules = path.resolve(__dirname, 'node_modules')
3535
// }
3636

3737
const baseConfig = {
38-
target: 'serverless',
38+
// target: 'serverless',
3939
pageExtensions: ['js', 'jsx'],
4040
webpack(config) {
4141
config.resolve.modules = [...config.resolve.modules, path.resolve('./src')]

www/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"private": true,
66
"scripts": {
77
"start": "next dev",
8-
"build": "yarn install-lib && yarn link-react && yarn link-react-dom && yarn build-lib && yarn link-lib && next build",
9-
"install-lib": "cd .. && yarn",
8+
"build": "yarn link-react && yarn link-react-dom && yarn build-lib && yarn link-lib && next build && next export",
109
"link-react": "cd node_modules/react && yarn link && cd ../../../ && yarn link react",
1110
"link-react-dom": "cd node_modules/react-dom && yarn link && cd ../../../ && yarn link react-dom",
1211
"build-lib": "cd .. && yarn build && yarn link",

0 commit comments

Comments
 (0)