style(prettier): format code style

This commit is contained in:
unix
2020-05-06 14:18:28 +08:00
parent cf8e277324
commit 112c826575
263 changed files with 4927 additions and 3992 deletions

View File

@@ -7,25 +7,25 @@ const withMDX = require('@next/mdx')({
const nextConfig = {
target: 'serverless',
pageExtensions: ['jsx', 'js', 'mdx', 'md', 'ts', 'tsx'],
cssModules: true,
cssLoaderOptions: {
importLoaders: 1,
localIdentName: '[local]___[hash:base64:5]',
},
env: {
VERSION: require('./package.json').version,
},
webpack(config) {
config.resolve.modules.push(__dirname)
return config
},
experimental: {
reactRefresh: true,
@@ -34,17 +34,17 @@ const nextConfig = {
{
source: '/docs/getting-started/:path*',
permanent: true,
destination: '/en-us/guide/:path*'
destination: '/en-us/guide/:path*',
},
{
source: '/en-us/getting-started/:path*',
permanent: true,
destination: '/en-us/guide/:path*'
destination: '/en-us/guide/:path*',
},
{
source: '/zh-cn/getting-started/:path*',
permanent: true,
destination: '/zh-cn/guide/:path*'
destination: '/zh-cn/guide/:path*',
},
{
source: '/zh-cn/',