mirror of
https://github.com/zhigang1992/react.git
synced 2026-03-27 15:05:33 +08:00
@@ -5,3 +5,4 @@ dist/*
|
||||
public/*
|
||||
scripts/*
|
||||
tests/*
|
||||
*.config.js
|
||||
|
||||
@@ -21,14 +21,7 @@ const nextConfig = {
|
||||
VERSION: require('./package.json').version,
|
||||
},
|
||||
|
||||
webpack(config) {
|
||||
config.resolve.modules.push(__dirname)
|
||||
return config
|
||||
},
|
||||
|
||||
experimental: {
|
||||
reactRefresh: true,
|
||||
|
||||
redirects() {
|
||||
return [
|
||||
{
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
"@babel/preset-typescript": "^7.8.3",
|
||||
"@mapbox/rehype-prism": "^0.4.0",
|
||||
"@mdx-js/loader": "^1.5.7",
|
||||
"@next/mdx": "^9.2.2",
|
||||
"@next/mdx": "^9.4.0",
|
||||
"@testing-library/react-hooks": "^3.2.1",
|
||||
"@types/enzyme": "^3.10.5",
|
||||
"@types/jest": "^25.2.1",
|
||||
@@ -71,14 +71,14 @@
|
||||
"extract-mdx-metadata": "^1.0.0",
|
||||
"fs-extra": "^8.1.0",
|
||||
"jest": "^25.3.0",
|
||||
"next": "^9.3.6",
|
||||
"next": "^9.4.0",
|
||||
"prettier": "^2.0.5",
|
||||
"react": "^16.13.0",
|
||||
"react-color": "^2.18.0",
|
||||
"react-dom": "^16.13.0",
|
||||
"react-live": "^2.2.2",
|
||||
"ts-jest": "^25.3.1",
|
||||
"typescript": "^3.8.2",
|
||||
"typescript": "^3.8.3",
|
||||
"webpack": "^4.41.6",
|
||||
"webpack-cli": "^3.3.11"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user