Skip to content

Commit

Permalink
fix aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
holtzy committed Aug 8, 2024
1 parent dadb82a commit affb9b7
Show file tree
Hide file tree
Showing 3 changed files with 97 additions and 76 deletions.
6 changes: 3 additions & 3 deletions components.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"prefix": ""
},
"aliases": {
"components": "@/component",
"utils": "@/lib/utils"
"components": "@/component/UI",
"utils": "@/util/utils"
}
}
}
4 changes: 0 additions & 4 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,4 @@ module.exports = {
// !! WARN !!
ignoreBuildErrors: true,
},
webpack: (config) => {
config.resolve.alias['@'] = path.join(__dirname, '.');
return config;
},
};
Loading

0 comments on commit affb9b7

Please sign in to comment.