Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tsup implementation #62

Merged
merged 1 commit into from
Sep 1, 2023
Merged

tsup implementation #62

merged 1 commit into from
Sep 1, 2023

Conversation

dc7290
Copy link
Member

@dc7290 dc7290 commented Sep 1, 2023

ライブラリのバンドルにtsupを採用しました。
rollupを利用する際に使用するプラグインのメンテナンス状況などを加味し、よりシンプルであるtsupに移行したいと考えています。

@dc7290 dc7290 marked this pull request as ready for review September 1, 2023 07:01
@@ -19,7 +19,8 @@
"microCMS"
],
"scripts": {
"build": "rollup -c",
"build": "tsup",
"postbuild": "mkdir -p ./dist/umd/ && cp -pR ./dist/iife/* ./dist/umd",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unpkgからの配信URLが変わらないようにumdディレクトリにコピーしています。

@dc7290 dc7290 self-assigned this Sep 1, 2023
Copy link
Contributor

@himorishige himorishige left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

対応ありがとうございます!
LGTM!

@dc7290 dc7290 merged commit 7381c3a into main Sep 1, 2023
2 checks passed
@dc7290 dc7290 deleted the chore/tsup branch March 14, 2024 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants