This repository was archived by the owner on Jun 13, 2024. It is now read-only.

Description
Hi,
i used the codelines from your readme.md in my vite.config.ts file. This happens when i triy to build:
failed to load config from ...\vite.config.ts error during build: Error [ERR_REQUIRE_ESM]: require() of ES Module ...\node_modules\@small-tech\vite-plugin-sri\index.js from ...\vite.config.ts not supported. Instead change the require of index.js in c:\Dev\Try\my-vue-appts\vite.config.ts to a dynamic import() which is available in all CommonJS modules.
When i try to use require instead of import:
failed to load config from ...\vite.config.ts error during build: Error [ERR_REQUIRE_ESM]: require() of ES Module ...\node_modules\@small-tech\vite-plugin-sri\index.js from ...\vite.config.ts not supported. Instead change the require of index.js in c:\Dev\Try\my-vue-appts\vite.config.ts to a dynamic import() which is available in all CommonJS modules.
Can you please build the library in a way i can be imported?