Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes to provisioning and build scripts. #661

Merged
merged 1 commit into from
May 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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