UNPKG

vite-plugin-dynamic-importmap

Version:

A Vite plugin that enables dynamic importmap loading by ensuring the importmap is fetched at runtime and gets applied before any other JavaScript runs

54 lines (53 loc) 1.55 kB
{ "name": "vite-plugin-dynamic-importmap", "version": "2.0.3", "author": "David Adamson", "license": "MIT", "description": "A Vite plugin that enables dynamic importmap loading by ensuring the importmap is fetched at runtime and gets applied before any other JavaScript runs", "keywords": [ "vite", "vite-plugin", "importmap", "microfrontends", "single-spa", "root-config" ], "homepage": "https://github.com/adamsondavid/vite-plugin-dynamic-importmap#readme", "bugs": { "url": "https://github.com/adamsondavid/vite-plugin-dynamic-importmap/issues" }, "repository": { "type": "git", "url": "git+https://github.com/adamsondavid/vite-plugin-dynamic-importmap.git" }, "files": [ "dist" ], "main": "dist/index.js", "type": "module", "scripts": { "dev": "cd example && vite", "preview": "cd example && concurrently -P --kill-others \"vite build --watch\" \"vite preview\"", "check:format": "prettier --ignore-path .gitignore --check .", "check:types": "tsc --noEmit", "test": "vitest run", "build": "tsup-node src/index.ts --format=esm --dts --minify", "prepack": "npm run build" }, "dependencies": { "dom-parser": "^1.1.5" }, "peerDependencies": { "vite": "^5.0.0 || ^6.0.0 || ^7.0.0" }, "devDependencies": { "@types/node": "^22.16.0", "concurrently": "^9.2.0", "cypress": "^14.5.1", "prettier": "^3.6.2", "semantic-release": "^24.2.6", "tsup": "^8.5.0", "typescript": "^5.8.3", "vitest": "^3.2.4" } }