UNPKG

rollup-plugin-static-import

Version:

Rollup plugin for copying imported files without modifying. It's basically a copy plugin with the added functionality of marking imported assets as external.

45 lines (44 loc) 962 B
{ "name": "rollup-plugin-static-import", "license": "MIT", "version": "1.0.0", "repository": { "type": "git", "url": "https://github.com/mefu/rollup-plugin-static-import.git" }, "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "./types/index.d.ts", "files": [ "dist", "types", "README.md", "LICENSE" ], "sideEffects": false, "dependencies": { "@rollup/pluginutils": "5.0.2", "glob": "8.1.0" }, "devDependencies": { "@swc/cli": "0.1.62", "@swc/core": "1.3.35", "@types/node": "18.13.0", "rollup": "3.15.0", "vite": "4.1.1", "vitest": "0.28.5" }, "peerDependencies": { "rollup": "^1.20.0||^2.0.0||^3.0.0" }, "peerDependenciesMeta": { "rollup": { "optional": true } }, "scripts": { "build": "swc src -d dist/esm && swc src -d dist/cjs -C module.type=commonjs", "start": "swc src -d dist/esm -w", "test": "vitest" } }