Skip to content

Instantly share code, notes, and snippets.

@pikeas
Created October 15, 2014 21:20
Show Gist options
  • Save pikeas/6d892f63b6a9d4ad9baa to your computer and use it in GitHub Desktop.
Save pikeas/6d892f63b6a9d4ad9baa to your computer and use it in GitHub Desktop.
# Bad config
/***/ 128:
/*!************************!*\
!*** ./app/style.styl ***!
\************************/
/***/ function(module, exports, __webpack_require__) {
module.exports =
"body {\n background: #eef;\n}\nhtml,\nbody {\n height: 100%;\n margin: 0;\n}\n";
/***/ },
# Good config
/***/ 128:
/*!************************!*\
!*** ./app/style.styl ***!
\************************/
/***/ function(module, exports, __webpack_require__) {
// style-loader: Adds some css to the DOM by adding a <style> tag
var dispose = __webpack_require__(/*! ./~/style-loader/addStyle.js */ 130)
// The css code:
(__webpack_require__(/*! !./~/css-loader!./~/stylus-loader!./app/style.styl */ 129));
// Hot Module Replacement
if(false) {
module.hot.accept();
module.hot.dispose(dispose);
}
/***/ },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment