Merged PR 414: 脆弱性試験ツール対応

## 概要
[Task2665: 脆弱性試験ツール対応](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/2665)

- Viteビルドを介さずデプロイしたい静的ファイルを配置する用のディレクトリを追加
- ビルド時にファイルコピーをする処理をnpm run build:* コマンドに追加
- 今回配置依頼のあった静的ファイルを配置

## レビューポイント
- 情報共有

## 動作確認状況
- ローカルで確認
This commit is contained in:
湯本 開 2023-09-15 05:16:01 +00:00
parent 78cbfd15e8
commit a8983c418e
2 changed files with 5 additions and 4 deletions

View File

@ -7,9 +7,9 @@
},
"scripts": {
"start": "vite",
"build": "tsc && vite build",
"build:prod": "tsc && vite build",
"build:local": "tsc && vite build && sh localdeploy.sh",
"build": "tsc && vite build && cp -r static_contents/. build/",
"build:prod": "tsc && vite build && cp -r static_contents/. build/",
"build:local": "tsc && vite build && cp -r static_contents/. build/ && sh localdeploy.sh",
"preview": "vite preview",
"typecheck": "tsc --noEmit",
"codegen": "sh codegen.sh",
@ -96,4 +96,4 @@
}
]
}
}
}

View File

@ -0,0 +1 @@
YOweYATRY5PBN1G9dHDpfWLbSeVvGNpe61DtYdLSC82pqmPNyIw8EHXwTa6o4iNQB5rNSa