mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 05:13:29 +00:00
Noop notifications for dev (#6671)
* Noop notifications for dev We rarely have notifications set up for development environments, this removes the error messages related to missing server notification services * Log actions in noop service * Add line breaks * Improve log messages * Ignore local config at all levels
This commit is contained in:
@@ -572,12 +572,12 @@ export default class MainBackground {
|
||||
this.stateService
|
||||
);
|
||||
this.notificationsService = new NotificationsService(
|
||||
this.logService,
|
||||
this.syncService,
|
||||
this.appIdService,
|
||||
this.apiService,
|
||||
this.environmentService,
|
||||
logoutCallback,
|
||||
this.logService,
|
||||
this.stateService,
|
||||
this.authService,
|
||||
this.messagingService
|
||||
|
||||
1
apps/cli/.gitignore
vendored
1
apps/cli/.gitignore
vendored
@@ -1 +0,0 @@
|
||||
config/local.json
|
||||
@@ -13,6 +13,8 @@ console.log("Renderer process config");
|
||||
const envConfig = configurator.load(NODE_ENV);
|
||||
configurator.log(envConfig);
|
||||
|
||||
const ENV = process.env.ENV == null ? "development" : process.env.ENV;
|
||||
|
||||
const common = {
|
||||
module: {
|
||||
rules: [
|
||||
@@ -170,6 +172,7 @@ const renderer = {
|
||||
chunkFilename: "[id].[contenthash].css",
|
||||
}),
|
||||
new webpack.EnvironmentPlugin({
|
||||
ENV: ENV,
|
||||
FLAGS: envConfig.flags,
|
||||
DEV_FLAGS: NODE_ENV === "development" ? envConfig.devFlags : {},
|
||||
}),
|
||||
|
||||
1
apps/web/.gitignore
vendored
1
apps/web/.gitignore
vendored
@@ -1,3 +1,2 @@
|
||||
!dev-server.shared.pem
|
||||
config/local.json
|
||||
stats.json
|
||||
|
||||
Reference in New Issue
Block a user