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

#93 Create React AppをViteに取り替えた #94

Merged
merged 15 commits into from
Jan 2, 2024

Conversation

MofuMofu2
Copy link
Owner

@MofuMofu2 MofuMofu2 commented Jan 2, 2024

実施した内容

情報収集を行い、その結果を取りまとめて作業した。

  1. Viteのインストール
  2. 環境変数をVite用に切り替え
  3. Viteの設定ファイルを作成
  4. 開発環境のコマンドを切り替える
  5. Create React Appなしで動作するかチェック
  6. npm run ejectを実行してCreate React Appを切り捨てる
  7. Jestの設定をマージ
  8. Jestでテストが実行されることをチェック
  9. Webpack・Babel依存のライブラリを切る
  10. Create React Appで使っているが自分のアプリでは使っていないライブラリを切る
  11. 開発モードしか使わないものはdevDependenciesに移動
スニペット

1. Viteのインストール
2. 環境変数をVite用に切り替え
3. Viteの設定ファイルを作成
4. 開発環境のコマンドを切り替える
5. Create React Appなしで動作するかチェック
6. npm run ejectを実行してCreate React Appを切り捨てる
7. Jestの設定をマージ
8. Jestでテストが実行されることをチェック
9. Webpack・Babel依存のライブラリを切る
10. Create React Appで使っているが自分のアプリでは使っていないライブラリを切る
11. 開発モードしか使わないものはdevDependenciesに移動

close #93

@MofuMofu2 MofuMofu2 marked this pull request as ready for review January 2, 2024 09:14
@MofuMofu2
Copy link
Owner Author

いい感じに作業できた。Storybookはテストが鬼門。

@MofuMofu2 MofuMofu2 merged commit 1811e4b into main Jan 2, 2024
1 check passed
@MofuMofu2 MofuMofu2 deleted the feature/93-change-vite branch January 2, 2024 09:17
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.

Create React AppをViteに入れ替える
1 participant