summaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
authorYuval Adam <yuval@y3xz.com>2016-06-21 21:54:42 +0300
committerYuval Adam <yuval@y3xz.com>2016-06-21 21:54:42 +0300
commit448696e920cc06f18a023dc2ebf304690f711edd (patch)
tree8f492fc2fc58d3fd5e856cb652d9caeba8e034b0 /webpack.config.js
parentbebde1a43d5604104beed17d81bfcbf446d37880 (diff)
Working version
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/webpack.config.js b/webpack.config.js
index feca40a..5d1e488 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -1,12 +1,13 @@
module.exports = {
- entry: "./index.js",
+ entry: './index.js',
output: {
path: __dirname,
- filename: "bundle.js"
+ filename: 'bundle.js'
},
module: {
loaders: [
- { test: /\.css$/, loader: "style!css" }
+ { test: /\.js$/, loader: 'babel', },
+ { test: /\.css$/, loader: 'style!css' }
]
}
};