update webpack paths

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-02-13 17:00:17 +00:00
parent 7664eb27c4
commit 56f9149e84

View File

@ -34,7 +34,7 @@ module.exports = (env, argv) => {
"bundle": "./src/vector/index.js", "bundle": "./src/vector/index.js",
"indexeddb-worker": "./src/vector/indexeddb-worker.js", "indexeddb-worker": "./src/vector/indexeddb-worker.js",
"mobileguide": "./src/vector/mobile_guide/index.js", "mobileguide": "./src/vector/mobile_guide/index.js",
"usercontent": "./node_modules/matrix-react-sdk/src/vector/usercontent/index.js", "usercontent": "./node_modules/matrix-react-sdk/src/usercontent/index.js",
// CSS themes // CSS themes
"theme-light": "./node_modules/matrix-react-sdk/res/themes/light/css/light.scss", "theme-light": "./node_modules/matrix-react-sdk/res/themes/light/css/light.scss",
@ -320,7 +320,7 @@ module.exports = (env, argv) => {
// This is the usercontent sandbox's entry point (separate for iframing) // This is the usercontent sandbox's entry point (separate for iframing)
new HtmlWebpackPlugin({ new HtmlWebpackPlugin({
template: './node_modules/matrix-react-sdk/src/vector/usercontent/index.html', template: './node_modules/matrix-react-sdk/src/usercontent/index.html',
filename: 'usercontent/index.html', filename: 'usercontent/index.html',
minify: argv.mode === 'production', minify: argv.mode === 'production',
chunks: ['usercontent'], chunks: ['usercontent'],