We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72e49c6 commit 16d0028Copy full SHA for 16d0028
packages/app/config/webpack.prod.js
@@ -16,9 +16,9 @@ const commonConfig = require('./webpack.common');
16
const publicPath = '/';
17
const isMaster =
18
childProcess
19
- .execSync('git branch')
+ .execSync(`git branch | grep \\* | cut -d ' ' -f2`)
20
.toString()
21
- .trim() === '* master';
+ .trim() === 'master';
22
23
const normalize = normalizeName({ name: true, automaticNameDelimiter: '~' });
24
@@ -308,7 +308,7 @@ module.exports = merge(commonConfig, {
308
]),
309
isMaster &&
310
new SentryWebpackPlugin({
311
- include: '.',
+ include: 'src',
312
ignore: ['node_modules', 'webpack.config.js'],
313
release: VERSION,
314
}),
0 commit comments