about/index.css
was changed. color: black
-> color: blue
.
Issues with output:
- Same hash
- Same chunkhash (messes with cache invalidation of CSS)
- Another different publicPath coming from
file-loader
in the extracted CSS.
Hash: f438ea140db6325692ef
Version: webpack 1.4.0-beta2
Time: 157ms
Asset Size Chunks Chunk Names
image.469477c1c02e3b07a27653818bb4b941.jpg 18136 [emitted]
about.6e5f04e891c90505b371.js 1901 0 [emitted] about
about.6e5f04e891c90505b371.css 146 [emitted]
[0] ./web_modules/about/index.js 41 {0} [built]
[1] ./web_modules/base/index.js 24 {0} [built]
[2] ./web_modules/about/index.css 41 {0} [built]
[3] ./web_modules/base/index.css 41 {0} [built]
Child extract-text-webpack-plugin:
[0] ./~/css-loader!./web_modules/base/index.css 54 {0} [built]
Child extract-text-webpack-plugin:
Asset Size Chunks Chunk Names
image.469477c1c02e3b07a27653818bb4b941.jpg 18136 [emitted]
[0] ./~/css-loader!./web_modules/about/index.css 98 {0} [built]
[1] ./web_modules/about/image.jpg 87 {0} [built]
build/
└── f438ea140db6325692ef
├── about.6e5f04e891c90505b371.css
├── about.6e5f04e891c90505b371.js
└── image.469477c1c02e3b07a27653818bb4b941.jpg
body {
background: white;
}
.about {
background: url(build/e84a9c9d02568436bd40/image.469477c1c02e3b07a27653818bb4b941.jpg);
color: blue;
}
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModules[moduleId].exports;
/******/
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ exports: {},
/******/ id: moduleId,
/******/ loaded: false
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.loaded = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "build/f438ea140db6325692ef/";
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(0);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ function(module, exports, __webpack_require__) {
__webpack_require__(1);
__webpack_require__(2);
/***/ },
/* 1 */
/***/ function(module, exports, __webpack_require__) {
__webpack_require__(3);
/***/ },
/* 2 */
/***/ function(module, exports, __webpack_require__) {
// removed by extract-text-webpack-plugin
/***/ },
/* 3 */
/***/ function(module, exports, __webpack_require__) {
// removed by extract-text-webpack-plugin
/***/ }
/******/ ])