2021-12-09 22:12:53 +01:00
|
|
|
const { AngularWebpackPlugin } = require("@ngtools/webpack");
|
2021-07-21 11:32:27 +02:00
|
|
|
|
2022-06-02 17:59:43 +02:00
|
|
|
const webpackConfig = require("../../apps/web/webpack.config");
|
2021-06-16 20:28:05 +02:00
|
|
|
|
2022-07-25 15:13:54 +02:00
|
|
|
webpackConfig.entry["app/main"] = "../../bitwarden_license/bit-web/src/main.ts";
|
2021-12-09 22:12:53 +01:00
|
|
|
webpackConfig.plugins[webpackConfig.plugins.length - 1] = new AngularWebpackPlugin({
|
2021-07-21 11:32:27 +02:00
|
|
|
tsConfigPath: "tsconfig.json",
|
|
|
|
entryModule: "bitwarden_license/src/app/app.module#AppModule",
|
|
|
|
sourceMap: true,
|
|
|
|
});
|
2021-06-16 20:28:05 +02:00
|
|
|
|
|
|
|
module.exports = webpackConfig;
|