mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-05 12:54:39 +00:00
Wrapper for inline widget HTML
This commit is contained in:
+7
-1
@@ -14,6 +14,7 @@ module.exports = {
|
||||
"indexeddb-worker": "./src/vector/indexeddb-worker.js",
|
||||
|
||||
"mobileguide": "./src/vector/mobile_guide/index.js",
|
||||
"inline-widget-wrapper": "./src/vector/inline_widget_wrapper/index.js",
|
||||
|
||||
// CSS themes
|
||||
"theme-light": "./node_modules/matrix-react-sdk/res/themes/light/css/light.scss",
|
||||
@@ -178,7 +179,7 @@ module.exports = {
|
||||
// bottom of <head> or the bottom of <body>, and I'm a bit scared
|
||||
// about moving them.
|
||||
inject: false,
|
||||
excludeChunks: ['mobileguide'],
|
||||
excludeChunks: ['mobileguide', 'inline-widget-wrapper'],
|
||||
vars: {
|
||||
og_image_url: og_image_url,
|
||||
},
|
||||
@@ -188,6 +189,11 @@ module.exports = {
|
||||
filename: 'mobile_guide/index.html',
|
||||
chunks: ['mobileguide'],
|
||||
}),
|
||||
new HtmlWebpackPlugin({
|
||||
template: './src/vector/inline_widget_wrapper/index.html',
|
||||
filename: 'inline_widget_wrapper/index.html',
|
||||
chunks: ['inline-widget-wrapper'],
|
||||
}),
|
||||
],
|
||||
devtool: 'source-map',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user