mirror of
https://github.com/valitydev/redash.git
synced 2024-11-06 17:15:17 +00:00
Add release to html webpack config (#4883)
Co-authored-by: Arik Fraimovich <arik@arikfr.com> Co-authored-by: Arik Fraimovich <arik@arikfr.com>
This commit is contained in:
parent
baf16d2501
commit
22f0030864
@ -53,7 +53,8 @@ const config = {
|
||||
new HtmlWebpackPlugin({
|
||||
template: "./client/app/index.html",
|
||||
filename: "index.html",
|
||||
excludeChunks: ["server"]
|
||||
excludeChunks: ["server"],
|
||||
release: process.env.BUILD_VERSION || "dev"
|
||||
}),
|
||||
new HtmlWebpackPlugin({
|
||||
template: "./client/app/multi_org.html",
|
||||
@ -91,7 +92,7 @@ const config = {
|
||||
},
|
||||
{
|
||||
test: /\.html$/,
|
||||
exclude: [/node_modules/, /index\.html/],
|
||||
exclude: [/node_modules/, /index\.html/, /multi_org\.html/],
|
||||
use: [
|
||||
{
|
||||
loader: "raw-loader"
|
||||
|
Loading…
Reference in New Issue
Block a user