mirror of
https://github.com/Eugeny/tabby.git
synced 2024-11-22 11:52:03 +03:00
16 lines
471 B
JavaScript
16 lines
471 B
JavaScript
|
import log from 'npmlog'
|
||
|
import { builtinPlugins } from './scripts/vars.mjs'
|
||
|
|
||
|
const paths = [
|
||
|
'./app/webpack.config.mjs',
|
||
|
'./app/webpack.config.main.mjs',
|
||
|
// './web/webpack.config.mjs',
|
||
|
// './tabby-web-demo/webpack.config.mjs',
|
||
|
...builtinPlugins.map(x => `./${x}/webpack.config.mjs`),
|
||
|
]
|
||
|
|
||
|
paths.forEach(x => log.info(`Using config: ${x}`))
|
||
|
|
||
|
const config = await Promise.all(paths.map(x => import(x).then(x => x.default())))
|
||
|
export default () => config
|