]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - webpack.config.js
Adds Webpack support and removes the use for Grunt
[github/wallabag/wallabag.git] / webpack.config.js
diff --git a/webpack.config.js b/webpack.config.js
new file mode 100644 (file)
index 0000000..e8f3a3c
--- /dev/null
@@ -0,0 +1,8 @@
+const path = require('path');
+
+function buildConfig(env) {
+  env = env || 'prod';
+  return require(path.resolve(__dirname, 'app/config/webpack/' + env + '.js'))({ env: env })
+}
+
+module.exports = buildConfig;