bolt/webpack.config.js
Sam Vervaeck 2b2d40c4f5 Major restructuring and update to code base
- Created a new VSCode Extension subproject
 - Created a new Bolt CLI subproject
 - Created a new Bolt Language Server subproject
 - Created a new Bolt Compiler subproject
 - Moved most existing code to the new Compiler subproject
 - Added a small language server
 - Laid the foundations for a Hindley-Milner type checker
 - Fixed some bugs and type errors in the compiler
 - Removed the unused testing infrastructure
 - Added an example parser test that should be run with Ava
2020-11-15 09:57:25 +01:00

21 lines
472 B
JavaScript

#!/usr/bin/env node
const path = require('path');
const glob = require('glob');
function getAllPackages() {
return glob.sync('**/package.json', {
ignore: ['node_modules', '.*'],
cwd: __dirname,
});
}
const webpackConfig = [];
for (const packageJsonPath of getAllPackages()) {
const webpackConfigPath = path.resolve(path.dirname(packageJsonPath), 'webpack.config.js');
webpackConfig.push(require(webpackConfigPath));
}
module.exports = webpackConfig;