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