UI structure (basic cards + css modules setup)

This commit is contained in:
Cássio Zen
2016-06-28 15:28:42 -03:00
parent 5f0ec91015
commit c6babdecff
9 changed files with 84 additions and 0 deletions

View File

@ -10,6 +10,10 @@ module.exports = {
loader: 'file?name=/[hash].[ext]'
},
{ test: /\.json$/, loader: 'json-loader' },
{
test: /\.css$/,
loader: 'style!css?modules!postcss'
},
{
loader: 'babel',
test: /\.js?$/,
@ -23,6 +27,10 @@ module.exports = {
]
},
postcss: [
require('postcss-cssnext')
],
plugins: [
new webpack.ProvidePlugin({
'fetch': 'imports?this=>global!exports?global.fetch!whatwg-fetch'