You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 13, 2024. It is now read-only.
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?
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?