├── .eslintignore ├── .github └── workflows │ └── build.yml ├── .gitignore ├── CHANGELOG.md ├── LICENSE.txt ├── README.md ├── example ├── config │ └── vite.json ├── package.json ├── src │ ├── dynamic.ts │ ├── entrypoints │ │ ├── main.ts │ │ └── styles.css │ └── global.css ├── tsconfig.json └── vite.config.ts ├── package.json ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── scripts └── release.cjs ├── src └── index.ts ├── tests ├── __snapshots__ │ └── build.spec.ts.snap ├── build.spec.ts ├── package.json └── tsconfig.json └── tsconfig.json /.eslintignore: -------------------------------------------------------------------------------- 1 | /dist/ 2 | /example/ 3 | /public/ 4 | -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElMassimo/vite-plugin-manifest-sri/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | public 5 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElMassimo/vite-plugin-manifest-sri/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElMassimo/vite-plugin-manifest-sri/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElMassimo/vite-plugin-manifest-sri/HEAD/README.md -------------------------------------------------------------------------------- /example/config/vite.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElMassimo/vite-plugin-manifest-sri/HEAD/example/config/vite.json -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElMassimo/vite-plugin-manifest-sri/HEAD/example/package.json -------------------------------------------------------------------------------- /example/src/dynamic.ts: -------------------------------------------------------------------------------- 1 | export default function () { 2 | console.log('Dynamic Import') 3 | } 4 | -------------------------------------------------------------------------------- /example/src/entrypoints/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElMassimo/vite-plugin-manifest-sri/HEAD/example/src/entrypoints/main.ts -------------------------------------------------------------------------------- /example/src/entrypoints/styles.css: -------------------------------------------------------------------------------- 1 | body { 2 | color: white; 3 | } 4 | -------------------------------------------------------------------------------- /example/src/global.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: #555; 3 | } 4 | -------------------------------------------------------------------------------- /example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElMassimo/vite-plugin-manifest-sri/HEAD/example/tsconfig.json -------------------------------------------------------------------------------- /example/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElMassimo/vite-plugin-manifest-sri/HEAD/example/vite.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElMassimo/vite-plugin-manifest-sri/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElMassimo/vite-plugin-manifest-sri/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElMassimo/vite-plugin-manifest-sri/HEAD/pnpm-workspace.yaml -------------------------------------------------------------------------------- /scripts/release.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElMassimo/vite-plugin-manifest-sri/HEAD/scripts/release.cjs -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElMassimo/vite-plugin-manifest-sri/HEAD/src/index.ts -------------------------------------------------------------------------------- /tests/__snapshots__/build.spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElMassimo/vite-plugin-manifest-sri/HEAD/tests/__snapshots__/build.spec.ts.snap -------------------------------------------------------------------------------- /tests/build.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElMassimo/vite-plugin-manifest-sri/HEAD/tests/build.spec.ts -------------------------------------------------------------------------------- /tests/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElMassimo/vite-plugin-manifest-sri/HEAD/tests/package.json -------------------------------------------------------------------------------- /tests/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElMassimo/vite-plugin-manifest-sri/HEAD/tests/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElMassimo/vite-plugin-manifest-sri/HEAD/tsconfig.json --------------------------------------------------------------------------------