From 64f81bc31699ed239e4becec1cfa7ebc0bef2b5a Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Fri, 31 Mar 2017 20:21:41 +0200 Subject: Adds Webpack support and removes the use for Grunt Signed-off-by: Thomas Citharel use scss Signed-off-by: Thomas Citharel fix build, add babel, fix annotations fixes (and improvements !) for baggy add live reload & environments & eslint & theme fixes --- webpack.config.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 webpack.config.js (limited to 'webpack.config.js') diff --git a/webpack.config.js b/webpack.config.js new file mode 100644 index 00000000..e8f3a3cc --- /dev/null +++ b/webpack.config.js @@ -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; -- cgit v1.2.3