mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-20 20:26:31 +01:00
9 lines
216 B
JavaScript
9 lines
216 B
JavaScript
const path = require('path');
|
|
|
|
function buildConfig(options) {
|
|
const env = options.prod ? 'prod' : 'dev';
|
|
return require(path.resolve(__dirname, `app/config/webpack/${env}.js`));
|
|
}
|
|
|
|
module.exports = buildConfig;
|