chore: add vercel.json into web

pull/13/head
moonrailgun 4 years ago
parent 3556d28832
commit 9345e2476a

@ -0,0 +1,6 @@
{
"routes": [
{ "handle": "filesystem" },
{ "src": "/(.*)", "status": 404, "dest": "/index.html" }
]
}

@ -110,6 +110,10 @@ const config: Configuration = {
from: path.resolve(__dirname, '../locales'),
to: 'locales',
},
{
from: path.resolve(__dirname, './assets/vercel.json'),
to: 'vercel.json',
},
],
}) as any,
new MiniCssExtractPlugin({ filename: 'styles-[contenthash].css' }),

Loading…
Cancel
Save