|
|
- {
- "_args": [
- [
- "extract-text-webpack-plugin@v4.0.0-beta.0",
- "/home/herrhase/Workspace/tentakelfabrik/tiny-components/tiny-consent/node_modules/laravel-mix"
- ]
- ],
- "_from": "extract-text-webpack-plugin@4.0.0-beta.0",
- "_hasShrinkwrap": false,
- "_id": "extract-text-webpack-plugin@4.0.0-beta.0",
- "_inCache": true,
- "_installable": true,
- "_location": "/extract-text-webpack-plugin",
- "_nodeVersion": "9.6.0",
- "_npmOperationalInternal": {
- "host": "s3://npm-registry-packages",
- "tmp": "tmp/extract-text-webpack-plugin_4.0.0-beta.0_1519786273691_0.8815864573131751"
- },
- "_npmUser": {
- "email": "michael.ciniawsky@gmail.com",
- "name": "michael-ciniawsky"
- },
- "_npmVersion": "5.7.1",
- "_phantomChildren": {},
- "_requested": {
- "name": "extract-text-webpack-plugin",
- "raw": "extract-text-webpack-plugin@v4.0.0-beta.0",
- "rawSpec": "v4.0.0-beta.0",
- "scope": null,
- "spec": "4.0.0-beta.0",
- "type": "version"
- },
- "_requiredBy": [
- "/laravel-mix"
- ],
- "_resolved": "https://registry.npmjs.org/extract-text-webpack-plugin/-/extract-text-webpack-plugin-4.0.0-beta.0.tgz",
- "_shasum": "f7361d7ff430b42961f8d1321ba8c1757b5d4c42",
- "_shrinkwrap": null,
- "_spec": "extract-text-webpack-plugin@v4.0.0-beta.0",
- "_where": "/home/herrhase/Workspace/tentakelfabrik/tiny-components/tiny-consent/node_modules/laravel-mix",
- "author": {
- "name": "Tobias Koppers @sokra"
- },
- "bugs": {
- "url": "https://github.com/webpack-contrib/extract-text-webpack-plugin/issues"
- },
- "dependencies": {
- "async": "^2.4.1",
- "loader-utils": "^1.1.0",
- "schema-utils": "^0.4.5",
- "webpack-sources": "^1.1.0"
- },
- "description": "Extract text from bundle into a file.",
- "devDependencies": {
- "@commitlint/cli": "^5.2.8",
- "@commitlint/config-angular": "^5.1.1",
- "@webpack-contrib/eslint-config-webpack": "^2.0.2",
- "babel-cli": "^6.26.0",
- "babel-jest": "^22.2.2",
- "babel-plugin-transform-object-rest-spread": "^6.26.0",
- "babel-polyfill": "^6.26.0",
- "babel-preset-env": "^1.6.1",
- "conventional-github-releaser": "^2.0.0",
- "cross-env": "^5.1.3",
- "css-loader": "^0.28.9",
- "del": "^3.0.0",
- "del-cli": "^1.1.0",
- "eslint": "^4.17.0",
- "eslint-plugin-import": "^2.8.0",
- "eslint-plugin-prettier": "^2.6.0",
- "file-loader": "^1.1.6",
- "husky": "^0.14.3",
- "jest": "^22.3.0",
- "lint-staged": "^6.1.0",
- "memory-fs": "^0.4.1",
- "nsp": "^3.1.0",
- "pre-commit": "^1.2.2",
- "prettier": "^1.10.2",
- "raw-loader": "^0.5.1",
- "standard-version": "^4.3.0",
- "style-loader": "^0.19.1",
- "webpack": "^4.0.0",
- "webpack-defaults": "^2.0.0-rc.4"
- },
- "directories": {},
- "dist": {
- "fileCount": 13,
- "integrity": "sha512-Hypkn9jUTnFr0DpekNam53X47tXn3ucY08BQumv7kdGgeVUBLq3DJHJTi6HNxv4jl9W+Skxjz9+RnK0sJyqqjA==",
- "shasum": "f7361d7ff430b42961f8d1321ba8c1757b5d4c42",
- "tarball": "https://registry.npmjs.org/extract-text-webpack-plugin/-/extract-text-webpack-plugin-4.0.0-beta.0.tgz",
- "unpackedSize": 48857
- },
- "engines": {
- "node": ">= 6.9.0 || >= 8.9.0"
- },
- "files": [
- "dist"
- ],
- "gitHead": "5dbbcd99a5964175f85c302641829cd20e139c09",
- "homepage": "https://github.com/webpack-contrib/extract-text-webpack-plugin",
- "jest": {
- "testEnvironment": "node"
- },
- "license": "MIT",
- "lint-staged": {
- "*.js": [
- "eslint --fix",
- "git add"
- ]
- },
- "main": "dist/cjs.js",
- "maintainers": [
- {
- "name": "bebraw",
- "email": "bebraw@gmail.com"
- },
- {
- "name": "d3viant0ne",
- "email": "wiens.joshua@gmail.com"
- },
- {
- "name": "ericclemmons",
- "email": "eric@smarterspam.com"
- },
- {
- "name": "jhnns",
- "email": "mail@johannesewald.de"
- },
- {
- "name": "jtangelder",
- "email": "j.tangelder@gmail.com"
- },
- {
- "name": "michael-ciniawsky",
- "email": "michael.ciniawsky@gmail.com"
- },
- {
- "name": "sokra",
- "email": "tobias.koppers@googlemail.com"
- },
- {
- "name": "spacek33z",
- "email": "kees@webduck.nl"
- },
- {
- "name": "thelarkinn",
- "email": "sean.larkin@cuw.edu"
- }
- ],
- "name": "extract-text-webpack-plugin",
- "optionalDependencies": {},
- "peerDependencies": {
- "webpack": "^3.0.0 || ^4.0.0"
- },
- "pre-commit": "lint-staged",
- "readme": "[![npm][npm]][npm-url]\n[![node][node]][node-url]\n[![deps][deps]][deps-url]\n[![tests][tests]][tests-url]\n[![coverage][cover]][cover-url]\n[![chat][chat]][chat-url]\n\n<div align=\"center\">\n <img width=\"200\" height=\"200\"\n src=\"https://cdn.rawgit.com/webpack-contrib/extract-text-webpack-plugin/574e3200/logo.svg\">\n <a href=\"https://github.com/webpack/webpack\">\n <img width=\"200\" height=\"200\"\n src=\"https://webpack.js.org/assets/icon-square-big.svg\">\n </a>\n <h1>Extract Text Plugin</h1>\n <p>Extract text from a bundle, or bundles, into a separate file.</p>\n</div>\n\n<h2 align=\"center\">Install</h2>\n\n```bash\n# for webpack 3\nnpm install --save-dev extract-text-webpack-plugin\n# for webpack 2\nnpm install --save-dev extract-text-webpack-plugin@2.1.2\n# for webpack 1\nnpm install --save-dev extract-text-webpack-plugin@1.0.1\n```\n\n<h2 align=\"center\">Usage</h2>\n\n> :warning: For webpack v1, see [the README in the webpack-1 branch](https://github.com/webpack/extract-text-webpack-plugin/blob/webpack-1/README.md).\n\n```js\nconst ExtractTextPlugin = require(\"extract-text-webpack-plugin\");\n\nmodule.exports = {\n module: {\n rules: [\n {\n test: /\\.css$/,\n use: ExtractTextPlugin.extract({\n fallback: \"style-loader\",\n use: \"css-loader\"\n })\n }\n ]\n },\n plugins: [\n new ExtractTextPlugin(\"styles.css\"),\n ]\n}\n```\n\nIt moves all the required `*.css` modules in entry chunks into a separate CSS file. So your styles are no longer inlined into the JS bundle, but in a separate CSS file (`styles.css`). If your total stylesheet volume is big, it will be faster because the CSS bundle is loaded in parallel to the JS bundle.\n\n|Advantages|Caveats|\n|:---------|:------|\n| Fewer style tags (older IE has a limit) | Additional HTTP request |\n| CSS SourceMap (with `devtool: \"source-map\"` and `extract-text-webpack-plugin?sourceMap`) | Longer compilation time |\n| CSS requested in parallel | No runtime public path modification |\n| CSS cached separate | No Hot Module Replacement |\n| Faster runtime (less code and DOM operations) | ... |\n\n<h2 align=\"center\">Options</h2>\n\n```js\nnew ExtractTextPlugin(options: filename | object)\n```\n\n|Name|Type|Description|\n|:--:|:--:|:----------|\n|**`id`**|`{String}`|Unique ident for this plugin instance. (For advanced usage only, by default automatically generated)|\n|**`filename`**|`{String\\|Function}`|Name of the result file. May contain `[name]`, `[id]` and `[contenthash]`|\n|**`allChunks`**|`{Boolean}`|Extract from all additional chunks too (by default it extracts only from the initial chunk(s))<br />When using `optimization.splitChunks` and there are extracted chunks (from `ExtractTextPlugin.extract`) in the commons chunk, `allChunks` **must** be set to `true`|\n|**`disable`**|`{Boolean}`|Disables the plugin|\n|**`ignoreOrder`**|`{Boolean}`|Disables order check (useful for CSS Modules!), `false` by default|\n\n* `[name]` name of the chunk\n* `[id]` number of the chunk\n* `[contenthash]` hash of the content of the extracted file\n* `[<hashType>:contenthash:<digestType>:<length>]` optionally you can configure\n * other `hashType`s, e.g. `sha1`, `md5`, `sha256`, `sha512`\n * other `digestType`s, e.g. `hex`, `base26`, `base32`, `base36`, `base49`, `base52`, `base58`, `base62`, `base64`\n * and `length`, the length of the hash in chars\n\n> :warning: `ExtractTextPlugin` generates a file **per entry**, so you must use `[name]`, `[id]` or `[contenthash]` when using multiple entries.\n\n#### `#extract`\n\n```js\nExtractTextPlugin.extract(options: loader | object)\n```\n\nCreates an extracting loader from an existing loader. Supports loaders of type `{ loader: [name]-loader -> {String}, options: {} -> {Object} }`.\n\n|Name|Type|Description|\n|:--:|:--:|:----------|\n|**`options.use`**|`{String}`/`{Array}`/`{Object}`|Loader(s) that should be used for converting the resource to a CSS exporting module _(required)_|\n|**`options.fallback`**|`{String}`/`{Array}`/`{Object}`
- "readmeFilename": "README.md",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/webpack-contrib/extract-text-webpack-plugin.git"
- },
- "scripts": {
- "build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js' --copy-files",
- "ci:coverage": "npm run test:coverage -- --runInBand",
- "ci:lint": "npm run lint && npm run security",
- "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
- "ci:test": "npm run test -- --runInBand",
- "clean": "del-cli dist",
- "commitlint": "commitlint",
- "commitmsg": "commitlint -e $GIT_PARAMS",
- "defaults": "webpack-defaults",
- "lint": "eslint --cache src test",
- "lint-staged": "lint-staged",
- "prebuild": "npm run clean",
- "prepare": "npm run build",
- "release": "standard-version",
- "release:ci": "conventional-github-releaser -p angular",
- "release:validate": "commitlint --from=$(git describe --tags --abbrev=0) --to=$(git rev-parse HEAD)",
- "security": "nsp check",
- "start": "npm run build -- -w",
- "test": "jest",
- "test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage",
- "test:watch": "jest --watch"
- },
- "version": "4.0.0-beta.0"
- }
|