summaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/webpack.config.js b/webpack.config.js
new file mode 100644
index 0000000..87ad43b
--- /dev/null
+++ b/webpack.config.js
@@ -0,0 +1,14 @@
+module.exports = {
+ entry: './geshem.js',
+ output: {
+ path: __dirname,
+ filename: 'static/js/bundle.js',
+ },
+ module: {
+ loaders: [
+ { test: /\.js$/, exclude: /node_modules/, loader: 'babel?presets[]=react,presets[]=es2015,presets[]=stage-0' },
+ { test: /\.css$/, loader: 'style!css' },
+ { test: /\.scss$/, loader: 'style!css!sass' }
+ ]
+ }
+} \ No newline at end of file