UNPKG

webpack-remove-empty-scripts

Version:

Webpack plugin removes empty JavaScript files generated when using styles.

83 lines (82 loc) 2.2 kB
{ "name": "webpack-remove-empty-scripts", "version": "1.0.4", "description": "Webpack plugin removes empty JavaScript files generated when using styles.", "keywords": [ "webpack", "plugin", "remove", "empty", "script", "entry", "style", "scss", "sass", "css", "js", "javascript", "mini-css-extract-plugin" ], "license": "ISC", "author": "webdiscus (https://github.com/webdiscus)", "maintainers": [ "webdiscus (https://github.com/webdiscus)" ], "funding": { "type": "patreon", "url": "https://patreon.com/biodiscus" }, "homepage": "https://github.com/webdiscus/webpack-remove-empty-scripts#readme", "bugs": { "url": "https://github.com/webdiscus/webpack-remove-empty-scripts/issues" }, "repository": { "type": "git", "url": "git+https://github.com/webdiscus/webpack-remove-empty-scripts.git" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "main": "src/index.js", "scripts": { "install:yarn": "yarn install --ignore-engines", "test": "jest --detectOpenHandles --config ./test/jest.config.js", "test:coverage": "jest --detectOpenHandles --collectCoverage --config ./test/jest.config.js", "publish:public": "npm publish --access public", "publish:beta": "npm publish --tag beta" }, "files": [ "src", "CHANGELOG.md", "README.md", "LICENSE" ], "engines": { "node": ">=12.14" }, "peerDependencies": { "webpack": ">=5.32.0" }, "dependencies": { "ansis": "1.5.2" }, "devDependencies": { "@babel/core": "^7.22.11", "@babel/preset-env": "^7.22.10", "@test-fixtures/lorem": "0.0.2", "@types/jest": "^29.5.4", "@wordpress/scripts": "^26.11.0", "@wordpress/dependency-extraction-webpack-plugin": "^4.23.0", "css-loader": "^6.8.1", "html-bundler-webpack-plugin": "^2.9.0", "html-loader": "^4.2.0", "jest": "^29.6.4", "mini-css-extract-plugin": "^2.7.6", "terser-webpack-plugin": "^5.3.9", "webpack": "^5.88.2", "webpack-hot-middleware": "^2.25.4", "webpack-manifest-plugin": "^5.0.0", "webpack-merge": "^5.9.0" } }