build(striker-ui): remove deprecated 'next export' and use recommended 'output: export'

main
Tsu-ba-me 11 months ago
parent 4c7792f17b
commit c93fced70f
  1. 9
      striker-ui/next.config.js
  2. 2
      striker-ui/package.json

@ -1,5 +1,12 @@
module.exports = {
/**
* @type {import('next').NextConfig}
*/
const config = {
distDir: 'out',
output: 'export',
pageExtensions: ['ts', 'tsx'],
poweredByHeader: false,
reactStrictMode: true,
};
module.exports = config;

@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"scripts": {
"build": "next build && next export",
"build": "next build",
"dev": "next dev",
"eslint:base": "eslint --config .eslintrc.json --ext js,jsx,ts,tsx --max-warnings=0",
"lint": "npm run eslint:base -- . && npm run prettier:base -- --check",

Loading…
Cancel
Save