mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Turn on source mapping, copy decoder-ring over to bundle
This commit is contained in:
parent
7ffa1ba1bd
commit
3e77418fd7
@ -67,6 +67,7 @@ const COPY_LIST = [
|
|||||||
["node_modules/olm/olm_legacy.js", "webapp", { directwatch: 1 }],
|
["node_modules/olm/olm_legacy.js", "webapp", { directwatch: 1 }],
|
||||||
["./config.json", "webapp", { directwatch: 1 }],
|
["./config.json", "webapp", { directwatch: 1 }],
|
||||||
["contribute.json", "webapp"],
|
["contribute.json", "webapp"],
|
||||||
|
["node_modules/matrix-react-sdk/res/decoder-ring/**", "webapp/decoder-ring"],
|
||||||
];
|
];
|
||||||
|
|
||||||
const parseArgs = require('minimist');
|
const parseArgs = require('minimist');
|
||||||
|
@ -19,6 +19,8 @@ module.exports = (env, argv) => {
|
|||||||
// This makes the sourcemaps human readable for developers. We use eval-source-map
|
// This makes the sourcemaps human readable for developers. We use eval-source-map
|
||||||
// because the plain source-map devtool ruins the alignment.
|
// because the plain source-map devtool ruins the alignment.
|
||||||
development['devtool'] = 'eval-source-map';
|
development['devtool'] = 'eval-source-map';
|
||||||
|
} else {
|
||||||
|
development['devtool'] = 'nosources-source-map';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Resolve the directories for the react-sdk and js-sdk for later use. We resolve these early so we
|
// Resolve the directories for the react-sdk and js-sdk for later use. We resolve these early so we
|
||||||
|
Loading…
Reference in New Issue
Block a user