Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
keita-hino committed Aug 22, 2023
1 parent 7399ef5 commit 931cfec
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/wild-windows-suffer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'vite-plugin-sri2': patch
---

update document
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# vite-plugin-sri2

This is a Vite plugin for adding [Subresource Integrity](https://developer.mozilla.org/ja/docs/Web/Security/Subresource_Integrity).
Vite Plugin SRI2 adds [Subresource Integrity (SRI)](https://developer.mozilla.org/ja/docs/Web/Security/Subresource_Integrity) to the `<script>` and `<link>` elements in your "index.html" file during at build time.

Below are examples of how the `<script>` and `<link>` elements in your built "index.html" file would look like after SRI attributes have been added:
<img width="1039" alt="スクリーンショット 2023-08-22 8 58 51" src="https://github.com/keita-hino/vue-tsc-action/assets/15973671/d32422ed-a248-440b-a320-99e253909a3e">

## Installation

Expand Down
5 changes: 4 additions & 1 deletion packages/vite-plugin-sri2/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# vite-plugin-sri2

This is a Vite plugin for adding [Subresource Integrity](https://developer.mozilla.org/ja/docs/Web/Security/Subresource_Integrity).
Vite Plugin SRI2 adds [Subresource Integrity (SRI)](https://developer.mozilla.org/ja/docs/Web/Security/Subresource_Integrity) to the `<script>` and `<link>` elements in your "index.html" file during at build time.

Below are examples of how the `<script>` and `<link>` elements in your built "index.html" file would look like after SRI attributes have been added:
<img width="1039" alt="スクリーンショット 2023-08-22 8 58 51" src="https://github.com/keita-hino/vue-tsc-action/assets/15973671/d32422ed-a248-440b-a320-99e253909a3e">

## Installation

Expand Down

0 comments on commit 931cfec

Please sign in to comment.