mirror of
https://github.com/zhigang1992/react.git
synced 2026-03-28 22:46:38 +08:00
build: remove webpack config for absolute import
This commit is contained in:
@@ -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 [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user