chore: rename old tsconfig paths
This commit is contained in:
parent
527f734bc4
commit
2a503ca250
@ -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: {
|
||||||
|
Loading…
Reference in New Issue
Block a user