18dc1f66c6
Since 9.4 release, fetch is pollyfilled by default from #12353, so the import is not needed anymore.
17 lines
346 B
JSON
17 lines
346 B
JSON
{
|
|
"name": "with-static-export",
|
|
"dependencies": {
|
|
"next": "latest",
|
|
"react": "^16.11.0",
|
|
"react-dom": "^16.11.0",
|
|
"serve": "11.2.0"
|
|
},
|
|
"scripts": {
|
|
"dev": "next",
|
|
"build": "next build",
|
|
"preexport": "npm run build",
|
|
"export": "next export",
|
|
"prestart": "npm run export",
|
|
"start": "serve out"
|
|
}
|
|
}
|