Skip to content

Commit

Permalink
Fixes to provisioning and build scripts. (#661)
Browse files Browse the repository at this point in the history
  • Loading branch information
azaslonov authored May 30, 2020
1 parent b32d260 commit 766015a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/components/content/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export class ContentWorkshop {
}
catch (error) {
this.viewManager.notifyError("Operations", `Unable to schedule publishing. Please try again later.`);
this.logger.traceError(error);
}
}

Expand Down
1 change: 1 addition & 0 deletions src/components/content/resetDetails.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export class ResetDetailsWorkshop {
}
catch (error) {
this.viewManager.notifyError("Confirm", `Unable to reset website. Please try again later.`);
this.logger.traceError(error);
}
}
}
1 change: 1 addition & 0 deletions src/services/provisioningService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export class ProvisionService {
}
this.router.navigateTo("/");
this.viewManager.setHost({ name: "page-host" });
this.viewManager.showToolboxes();
}
catch (error) {
throw error;
Expand Down
2 changes: 1 addition & 1 deletion webpack.build.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const productionConfig = {
terserOptions: {
mangle: false,
output: {
comments: true
comments: false
}
}
})
Expand Down
3 changes: 2 additions & 1 deletion webpack.designer.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ const designerConfig = {
new CopyWebpackPlugin({
patterns: [
{ from: `./src/themes/designer/assets/index.html`, to: "index.html" },
{ from: `./src/themes/designer/styles/fonts`, to: "editors/styles/fonts" }
{ from: `./src/themes/designer/styles/fonts`, to: "editors/styles/fonts" }б
{ from: `./scripts/data.json`, to: "editors/themes/default.json" }
]
})
],
Expand Down

0 comments on commit 766015a

Please sign in to comment.