Skip to content

Commit 05108ba

Browse files
committed
Add repository image
1 parent ae9b0a8 commit 05108ba

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

images/image_repository.png

174 KB
Loading

webpack.config.js

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
const path = require('path');
2+
3+
module.exports = {
4+
cache: true,
5+
entry: path.resolve(__dirname, 'src', 'javascripts', 'index.js'),
6+
output: {
7+
path: path.resolve(__dirname, 'dist'),
8+
filename: 'bundle.js'
9+
},
10+
module: {
11+
loaders: [
12+
{
13+
test: /\.js$/,
14+
exclude: /node_modules/,
15+
loader: 'babel',
16+
query:{
17+
presets: ['es2015', 'react']
18+
}
19+
},
20+
{
21+
test: /\.css$/,
22+
loader: 'style!css?modules'
23+
},
24+
{
25+
test: /\.png$/,
26+
loader: 'url?mimetype=image/png'
27+
}
28+
]
29+
},
30+
devtool: 'source-map',
31+
resolve: {
32+
extensions: ['', '.js', '.css']
33+
}
34+
};

0 commit comments

Comments
 (0)