mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-01-11 22:40:31 +00:00
generate source map files in production build
This commit is contained in:
parent
acbaf43cfc
commit
0ea77ede67
1 changed files with 1 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ const COMMIT_HASH = execSync('git rev-parse HEAD').toString().trim();
|
|||
|
||||
module.exports = (env, argv) => ({
|
||||
mode: argv.mode,
|
||||
devtool: argv.mode === 'production' ? 'source-map' : 'eval-source-map',
|
||||
entry: './src/index.js',
|
||||
output: {
|
||||
path: path.join(__dirname, 'build'),
|
||||
|
|
|
|||
Loading…
Reference in a new issue