Skip to content

fix(build): webpackのnode:assertモジュール解決エラーを修正#32

Merged
azu merged 1 commit intotextlintfrom
fix-build-node-assert-error
Jul 24, 2025
Merged

fix(build): webpackのnode:assertモジュール解決エラーを修正#32
azu merged 1 commit intotextlintfrom
fix-build-node-assert-error

Conversation

@azu
Copy link
Member

@azu azu commented Jul 24, 2025

Summary

  • webpackのnode:assertモジュール解決エラーを修正
  • PR用のCIワークフローを追加してビルドテストを実行

変更内容

webpack.config.js

  • node:assertのaliasをassertに設定
  • nodeオブジェクトにassert: 'empty'を追加

.github/workflows/test.yml

  • PR用のビルドテストワークフローを新規追加
  • websiteとserverの両方の依存関係インストールとビルドを実行

テスト結果

  • ローカルでのnpm buildとyarn buildが正常に完了
  • エラーなしでビルドが通ることを確認

🤖 Generated with Claude Code

@azu azu merged commit 48efec5 into textlint Jul 24, 2025
1 check passed
@azu azu deleted the fix-build-node-assert-error branch July 24, 2025 22:14
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.

1 participant