forked from wallabag/wallabag
The structure changed completely. Bundles are gone. Everything is flatten in the folder `src`. I separated import & api controllers to avoid _pollution_ in the main controller folder.
9 lines
213 B
JavaScript
9 lines
213 B
JavaScript
const path = require('path');
|
|
|
|
function buildConfig(options) {
|
|
const env = options.prod ? 'prod' : 'dev';
|
|
return require(path.resolve(__dirname, `scripts/webpack/${env}.js`));
|
|
}
|
|
|
|
module.exports = buildConfig;
|