Skip to content

Commit

Permalink
chore: rename old tsconfig paths
Browse files Browse the repository at this point in the history
  • Loading branch information
moonrailgun committed Oct 15, 2024
1 parent 527f734 commit 2a503ca
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ const config: Config = {
],
],

plugins: [require.resolve('docusaurus-plugin-image-zoom'), MyAliasPlugin],
plugins: [
require.resolve('docusaurus-plugin-image-zoom'),
TsConfigPathsPlugin,
],

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

module.exports = config;

function MyAliasPlugin(context, options) {
console.log('MyAliasPlugin', context, options);
function TsConfigPathsPlugin(context, options) {
return {
name: 'my-alias-plugin',
name: 'tsconfig-paths-plugin',
configureWebpack() {
return {
resolve: {
Expand Down

0 comments on commit 2a503ca

Please sign in to comment.