make root serve static html
This commit is contained in:
parent
c92c9e0657
commit
107580db20
@ -1,5 +1,13 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
swcMinify: true,
|
swcMinify: true,
|
||||||
|
rewrites: async () => {
|
||||||
|
return [
|
||||||
|
{
|
||||||
|
source: "/",
|
||||||
|
destination: "/index.html",
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
webpack: (config) => {
|
webpack: (config) => {
|
||||||
config.resolve.fallback = {
|
config.resolve.fallback = {
|
||||||
fs: false,
|
fs: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user