UNPKG

builder-we-app-canary

Version:

The KOS Builder Module for Choice MicroApp, use latest dependencies

11 lines (10 loc) 272 B
const get = require('lodash/get'); const { SAAS_CONFIG } = require('./const'); const CB = get(SAAS_CONFIG, 'webpack.config', ''); module.exports = function(baseConfig) { if (typeof CB === 'function') { return CB(baseConfig); } else { return baseConfig; } };