This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.wrapper { | |
display: flex; | |
} | |
.button { | |
color: red; | |
} | |
.button:hover { | |
color: green; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<link rel="stylesheet" href="./build/client/main.css"> | |
</head> | |
<body> | |
<script src="./build/client/main.js"></script> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
test: /\.js$/, | |
exclude: /node_modules/, | |
use: 'babel-loader' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"presets": [ | |
["es2015"] | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
test: /\.css$/, | |
loader: ExtractTextPlugin.extract({ | |
loader: [ | |
{ | |
loader: 'css-loader', | |
query: { | |
localIdentName: '[hash:8]', | |
modules: true | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/***/ function(module, exports, __webpack_require__) { | |
exports = module.exports = __webpack_require__(1)(); | |
// imports | |
// module | |
exports.push([module.i, ".fe15fdc7 {\n display: flex;\n}\n\n.ad030139 {\n color: red;\n}\n\n.ad030139:hover {\n color: green;\n}\n", ""]); | |
// exports | |
exports.locals = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/***/ function(module, exports) { | |
// removed by extract-text-webpack-plugin | |
module.exports = {"wrapper":"fe15fdc7","button":"ad030139"}; | |
/***/ }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins: [ | |
new ExtractTextPlugin({ | |
filename: '[name].css', | |
allChunks: true | |
}) | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.fe15fdc7 { | |
display: flex; | |
} | |
.ad030139 { | |
color: red; | |
} | |
.ad030139:hover { | |
color: green; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"presets": [ | |
["es2015"] | |
], | |
"env": { | |
"server": { | |
"plugins": [ | |
[ | |
"css-modules-transform", { | |
"generateScopedName": "[hash:8]", |