X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=webpack.config.js;fp=webpack.config.js;h=e8f3a3cc8ee5a304de374b48fe1d83cb852c51ab;hb=64f81bc31699ed239e4becec1cfa7ebc0bef2b5a;hp=0000000000000000000000000000000000000000;hpb=3b4502e0e663866e7bac00164fd935fdc92309d6;p=github%2Fwallabag%2Fwallabag.git 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;