Skip to content

Commit 79d0041

Browse files
committed
build: remove webpack config for absolute import
1 parent c9532b4 commit 79d0041

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

jsconfig.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"compilerOptions": {
3+
"baseUrl": "."
4+
}
5+
}

next.config.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,7 @@ const nextConfig = {
2121
VERSION: require('./package.json').version,
2222
},
2323

24-
webpack(config) {
25-
config.resolve.modules.push(__dirname)
26-
return config
27-
},
28-
2924
experimental: {
30-
reactRefresh: true,
31-
3225
redirects() {
3326
return [
3427
{

0 commit comments

Comments
 (0)