, :
css , webpack
css , , , less, javascript, bundle.js , Snippet:
,
function(module, exports, __webpack_require__) {
eval("exports = module.exports = __webpack_require__(625)();\n// imports\nexports.push([
module.id, \"@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600,700);\", \"\"]);
\n\n// module\nexports.push([module.id, \"/*!\\n * Bootstrap v3.3.7 (http://getbootstrap.com)\\n *
Copyright 2011-2016 Twitter, Inc.\\n * Licensed under MIT
(https://github.com/twbs/bootstrap/blob/master/LICENSE)\\n */\\n/*! normalize.css v3.0.3 | MIT License |
github.com/necolas/normalize.css */\\nhtml
{\\n font-family: sans-serif;\\n -ms-text-size-adjust: 100%;
\\n -webkit-text-size-adjust: 100%;\\n}\\nbody
{\\n margin: 0;\\n}\\narticle,\\naside,\\ndetails,\\nfigcaption,
\\nfigure,\\nfooter,\\nheader,\\nhgroup,\\nmain,\\nmenu,\\nnav,\\nsection,
\\nsummary {\\n display: block;\\n}\\naudio,\\ncanvas,\\nprogress,
\\nvideo {\\n display: inline-block;\\n vertical-align: baseline;\\n}
\\naudio:not([controls])
{\\n display: none;\\n height: 0;\\n}\\n[hidden],\\ntemplate {\\n display: none;\\n}\\na {\\n background-color: transparent;\\n}
Some more things here...
/***/
}
bootstrap css ? @import url css, .
, , .
- Webpcak, css , . css .
webpack less, , , - - :
Webpack v1.13. *:
{
test: /\.less$/,
loader: 'style!css!less'
}
style, javascript.
style-loader, :
style-loader - CSS, JavaScript,
, , global.css , <style>, .
bundle.js, :
}),
(function(module, exports, __webpack_require__) {
exports = module.exports = __webpack_require__(3)(undefined);
exports.push([module.i, ".red {\n color: red;\n}\n\n.blue {\n color: blue;\n}\n", ""]);
}),
index.html <style>, bundel.js:
function insertStyleElement (options, style) {
....
}
: , CSS, bootstrap.css font-awesome, , css.
: . , css ,
. , , css , . css - , .
cons: , border, , css, , , , . , .