UNPKG

html-webpack-include-sibling-chunks-plugin

Version:

This plugin is useful when bundling a Multiple-Page Application with webpack 4. It let `html-webpack-plugin` to include initial split chunks and runtime chunk that related to the entry js file of a html page, which are generated by `optimization.splitChun

67 lines (66 loc) 1.57 kB
{ "name": "mpa-example", "version": "1.0.0", "description": "multiple-page application", "main": "", "scripts": { "local": "npm run webpack-serve --config=local", "dev": "npm run webpack-serve --config=dev", "webpack-serve": "webpack-serve webpack.config.js", "build": "webpack-cli" }, "author": "", "license": "MIT", "devDependencies": { "autoprefixer": "8.6.2", "babel-core": "6.26.3", "babel-eslint": "8.2.3", "babel-loader": "7.1.4", "babel-preset-env": "1.7.0", "babel-preset-stage-2": "6.24.1", "css-loader": "0.28.11", "eslint": "4.19.1", "eslint-config-enough": "0.3.3", "eslint-loader": "2.0.0", "file-loader": "1.1.11", "glob": "7.1.2", "html-loader": "0.5.5", "html-webpack-include-sibling-chunks-plugin": "0.1.5", "html-webpack-plugin": "3.2.0", "internal-ip": "3.0.1", "mini-css-extract-plugin": "0.4.0", "optimize-css-assets-webpack-plugin": "4.0.2", "postcss-loader": "2.1.5", "style-loader": "0.21.0", "uglifyjs-webpack-plugin": "1.2.5", "url-loader": "1.0.1", "webpack": "4.12.0", "webpack-cli": "3.0.3", "webpack-serve": "1.0.4" }, "babel": { "presets": [ [ "env", { "loose": true, "modules": false } ], "stage-2" ] }, "eslintConfig": { "extends": "enough", "env": { "browser": true, "node": true }, "globals": { "DEBUG": false, "VERSION": false, "CONFIG": false } }, "dependencies": {} }