UNPKG

babel-plugin-transform-assets-import-to-string

Version:
74 lines (73 loc) 1.84 kB
{ "name": "babel-plugin-transform-assets-import-to-string", "version": "2.0.0", "description": "Babel plugin that transforms image assets import and requires to urls / cdn", "type": "module", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs" } }, "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist" ], "engines": { "node": ">=20" }, "scripts": { "build": "tsup", "dev": "tsup --watch", "test": "vitest run", "test:watch": "vitest", "test:coverage": "vitest run --coverage", "lint": "eslint src test", "typecheck": "tsc --noEmit", "clean": "rm -rf dist .turbo", "check": "turbo lint typecheck test" }, "repository": { "type": "git", "url": "git+https://github.com/yeojz/babel-plugin-transform-assets-import-to-string.git" }, "keywords": [ "babel", "babel-plugin", "import", "assets", "cdn", "images", "isomorphic", "server-side-rendering", "ssr", "transform", "string", "universal" ], "author": "Gerald Yeo <contact@fusedthought.com>", "license": "MIT", "bugs": { "url": "https://github.com/yeojz/babel-plugin-transform-assets-import-to-string/issues" }, "homepage": "https://github.com/yeojz/babel-plugin-transform-assets-import-to-string#readme", "peerDependencies": { "@babel/core": "^7.20.0" }, "devDependencies": { "@babel/core": "^7.20.0", "@types/babel__core": "^7.20.0", "@types/node": "^20.0.0", "@vitest/coverage-v8": "^2.1.9", "eslint": "^9.0.0", "prettier": "^3.0.0", "tsup": "^8.0.0", "turbo": "^2.0.0", "typescript": "~5.5.0", "typescript-eslint": "^8.0.0", "vitest": "^2.0.0" } }