Skip to content

Commit

Permalink
feat: AdminJS 라이브러리 확장성을 위해 파일 생성 시 import문에 .js 확장자 추가
Browse files Browse the repository at this point in the history
AdminJS 버전 7부터는 esm 모듈 사용이 강제되므로, 타입스크립트 사용 시 import문에 `js`나 `ts` 확장자를 추가해야 한다. 일일히 추가하는 것은 힘드므로 파일을 만드는 부분 일부를 수정한다.
  • Loading branch information
jxmen committed Nov 13, 2023
1 parent de614af commit 2c3e2d8
Show file tree
Hide file tree
Showing 6 changed files with 5,413 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
node_modules
dist

.idea/
1 change: 1 addition & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run build && npx tsc && npm publish
Loading

0 comments on commit 2c3e2d8

Please sign in to comment.