Skip to content

Commit 16d0028

Browse files
committed
Fix sourcemapp builds
1 parent 72e49c6 commit 16d0028

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/app/config/webpack.prod.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ const commonConfig = require('./webpack.common');
1616
const publicPath = '/';
1717
const isMaster =
1818
childProcess
19-
.execSync('git branch')
19+
.execSync(`git branch | grep \\* | cut -d ' ' -f2`)
2020
.toString()
21-
.trim() === '* master';
21+
.trim() === 'master';
2222

2323
const normalize = normalizeName({ name: true, automaticNameDelimiter: '~' });
2424

@@ -308,7 +308,7 @@ module.exports = merge(commonConfig, {
308308
]),
309309
isMaster &&
310310
new SentryWebpackPlugin({
311-
include: '.',
311+
include: 'src',
312312
ignore: ['node_modules', 'webpack.config.js'],
313313
release: VERSION,
314314
}),

0 commit comments

Comments
 (0)