Skip to content

Commit 2a503ca

Browse files
committed
chore: rename old tsconfig paths
1 parent 527f734 commit 2a503ca

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

website/docusaurus.config.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,10 @@ const config: Config = {
7575
],
7676
],
7777

78-
plugins: [require.resolve('docusaurus-plugin-image-zoom'), MyAliasPlugin],
78+
plugins: [
79+
require.resolve('docusaurus-plugin-image-zoom'),
80+
TsConfigPathsPlugin,
81+
],
7982

8083
themeConfig: {
8184
// Replace with your project's social card
@@ -212,10 +215,9 @@ const config: Config = {
212215

213216
module.exports = config;
214217

215-
function MyAliasPlugin(context, options) {
216-
console.log('MyAliasPlugin', context, options);
218+
function TsConfigPathsPlugin(context, options) {
217219
return {
218-
name: 'my-alias-plugin',
220+
name: 'tsconfig-paths-plugin',
219221
configureWebpack() {
220222
return {
221223
resolve: {

0 commit comments

Comments
 (0)