Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Webportal: fix version display in PAIShare pages #1424

Merged
merged 4 commits into from
Sep 25, 2018
Merged
Changes from 1 commit
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
12 changes: 8 additions & 4 deletions src/webportal/config/webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,31 +306,35 @@ const config = (env, argv) => ({
chunks: ['layout', 'docs']
}),
new HtmlWebpackPlugin({
title: 'Platform for AI',
title: title,
version: version,
filename: 'submit-v2.html',
template: './src/app/layout/layout.component.ejs',
minify: htmlMinifierOptions,
cache: true,
chunks: ['layout', 'jobSubmit']
}),
new HtmlWebpackPlugin({
title: 'Platform for AI',
title: title,
version: version,
filename: 'template.html',
template: './src/app/layout/layout.component.ejs',
minify: htmlMinifierOptions,
cache: true,
chunks: ['layout', 'templateDetail']
}),
new HtmlWebpackPlugin({
title: 'Platform for AI',
title: title,
version: version,
filename: 'marketplace.html',
template: './src/app/layout/layout.component.ejs',
minify: htmlMinifierOptions,
cache: true,
chunks: ['layout', 'templateView']
}),
new HtmlWebpackPlugin({
title: 'Platform for AI',
title: title,
version: version,
filename: 'template-list.html',
template: './src/app/layout/layout.component.ejs',
minify: htmlMinifierOptions,
Expand Down