1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-29 12:55:21 +01:00
bitwarden-browser/bitwarden_license/webpack.config.js

13 lines
428 B
JavaScript
Raw Normal View History

2021-12-17 15:57:11 +01:00
const { AngularWebpackPlugin } = require("@ngtools/webpack");
2021-12-17 15:57:11 +01:00
const webpackConfig = require("../webpack.config");
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,
});
module.exports = webpackConfig;