chore: rename old tsconfig paths

This commit is contained in:
moonrailgun 2024-10-16 01:16:21 +08:00
parent 527f734bc4
commit 2a503ca250

View File

@ -75,7 +75,10 @@ const config: Config = {
], ],
], ],
plugins: [require.resolve('docusaurus-plugin-image-zoom'), MyAliasPlugin], plugins: [
require.resolve('docusaurus-plugin-image-zoom'),
TsConfigPathsPlugin,
],
themeConfig: { themeConfig: {
// Replace with your project's social card // Replace with your project's social card
@ -212,10 +215,9 @@ const config: Config = {
module.exports = config; module.exports = config;
function MyAliasPlugin(context, options) { function TsConfigPathsPlugin(context, options) {
console.log('MyAliasPlugin', context, options);
return { return {
name: 'my-alias-plugin', name: 'tsconfig-paths-plugin',
configureWebpack() { configureWebpack() {
return { return {
resolve: { resolve: {