UNPKG

@serwist/webpack-plugin

Version:

A plugin for your webpack build process, helping you generate a manifest of local files that should be precached.

92 lines 2.17 kB
{ "name": "@serwist/webpack-plugin", "version": "9.2.1", "type": "module", "description": "A plugin for your webpack build process, helping you generate a manifest of local files that should be precached.", "files": [ "src", "dist" ], "keywords": [ "serwist", "serwistjs", "webpack", "rspack", "rsbuild", "service worker", "caching", "fetch requests", "offline", "file manifest" ], "engines": { "node": ">=18.0.0" }, "author": "Google's Web DevRel Team", "contributors": [ "Serwist <ducanh2912.rusty@gmail.com> (https://serwist.pages.dev/)" ], "license": "MIT", "repository": "https://github.com/serwist/serwist", "bugs": "https://github.com/serwist/serwist/issues", "homepage": "https://serwist.pages.dev", "main": "./dist/index.js", "types": "./dist/index.d.ts", "typesVersions": { "*": { "internal": [ "./dist/index.internal.d.ts" ], "schema": [ "./dist/index.schema.d.ts" ] } }, "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "./internal": { "types": "./dist/index.internal.d.ts", "default": "./dist/index.internal.js" }, "./schema": { "types": "./dist/index.schema.d.ts", "default": "./dist/index.schema.js" }, "./package.json": "./package.json" }, "dependencies": { "pretty-bytes": "6.1.1", "zod": "4.1.5", "@serwist/build": "9.2.1" }, "devDependencies": { "@types/node": "24.3.0", "@types/webpack": "5.28.5", "rollup": "4.49.0", "typescript": "5.9.2", "webpack": "5.101.3", "@serwist/configs": "9.2.1", "@serwist/utils": "9.2.1" }, "peerDependencies": { "typescript": ">=5.0.0", "webpack": "4.4.0 || ^5.9.0" }, "peerDependenciesMeta": { "typescript": { "optional": true }, "webpack": { "optional": true } }, "scripts": { "build": "rimraf dist && NODE_ENV=production rollup --config rollup.config.js", "dev": "rollup --config rollup.config.js --watch", "lint": "biome lint ./src", "typecheck": "tsc" } }