tabby/webpack.config.mjs

15 lines
443 B
JavaScript
Raw Permalink Normal View History

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}`))
2025-01-06 19:13:58 +08:00
export default () => Promise.all(paths.map(x => import(x).then(x => x.default())))