Skip to content

Commit

Permalink
fix: 文件命名错误修复
Browse files Browse the repository at this point in the history
  • Loading branch information
yuntian001 committed Apr 21, 2023
1 parent 60a95df commit 890d352
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dist-ssr
*.sln
*.sw?
package-lock.json
types/meIconComments.d.ts
types/meIconComponents.d.ts
src/store/module.ts
types/directives.d.ts
stats.html
Expand Down
4 changes: 2 additions & 2 deletions plugins/autoImport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ export default () =>
// svg icon type
pattern: ['*.svg'],
dir: pathResolve('src/icons/svg'),
toFile: pathResolve('types/meIconComments.d.ts'),
toFile: pathResolve('types/meIconComponents.d.ts'),
name: 'MeIcon_{{name}}',
template: fs.readFileSync(pathResolve('./template/meIconComments.d.ts'), 'utf-8'),
template: fs.readFileSync(pathResolve('./template/meIconComponents.d.ts'), 'utf-8'),
codeTemplates: [{ key: '//code', template: '{{name}}: Icon;\n ' }],
},
{
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 890d352

Please sign in to comment.