mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-22 11:45:59 +01:00
b14bb92d78
* Create bit-cli folder with configs * Add bit-cli to workspace * Refactor CLI app structure * services are managed by the ServiceContainer * programs are registered by register(Oss|Bit)Program * the app is bootstrapped by Main * Reapply changes from #9099 * Reapply changes from #8604 * Reapply changes from #9115
13 lines
469 B
JavaScript
13 lines
469 B
JavaScript
const TsconfigPathsPlugin = require("tsconfig-paths-webpack-plugin");
|
|
|
|
// Re-use the OSS CLI webpack config
|
|
const webpackConfig = require("../../apps/cli/webpack.config");
|
|
|
|
// Update paths to use the bit-cli entrypoint and tsconfig
|
|
webpackConfig.entry = { bw: "../../bitwarden_license/bit-cli/src/bw.ts" };
|
|
webpackConfig.resolve.plugins = [
|
|
new TsconfigPathsPlugin({ configFile: "../../bitwarden_license/bit-cli/tsconfig.json" }),
|
|
];
|
|
|
|
module.exports = webpackConfig;
|