1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-17 03:42:32 +01:00
bitwarden-estensione-browser/bitwarden_license/bit-web/webpack.config.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
448 B
JavaScript
Raw Normal View History

2021-12-09 22:12:53 +01:00
const { AngularWebpackPlugin } = require("@ngtools/webpack");
const webpackConfig = require("../../apps/web/webpack.config");
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({
tsConfigPath: "tsconfig.json",
entryModule: "bitwarden_license/src/app/app.module#AppModule",
sourceMap: true,
});
module.exports = webpackConfig;