summaryrefslogtreecommitdiffstats
path: root/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/webpack.config.js b/webpack.config.js
new file mode 100644
index 0000000..ac55b79
--- /dev/null
+++ b/webpack.config.js
@@ -0,0 +1,19 @@
+module.exports = {
+ entry: './src/static/index.js',
+ output: {
+ path: './dist',
+ filename: 'bundle.js'
+ },
+ module: {
+ loaders: [
+ {
+ test: /\.elm$/,
+ exclude: [/elm-stuff/, /node_modules/],
+ loader: 'elm-webpack?verbose=true&warn=true',
+ }
+ ]
+ },
+ resolve: {
+ extensions: ['', '.js', '.elm']
+ }
+} \ No newline at end of file