Skip to content

Commit

Permalink
fix: #1390 sourcemaps not loaded in dev and prod
Browse files Browse the repository at this point in the history
  • Loading branch information
nphivu414 committed May 28, 2020
1 parent 1cb0e42 commit 181e517
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion scripts/release/release-dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const releaseDev = () => {
}

const distPath = path.resolve(__dirname, '../../', 'packages', packageName, 'public', 'dist')
runCommand('rimraf', [`${distPath}/**/*.map`])
// This command remove the old version file in bucket
const deleteResult = execSync(`aws s3 rm --recursive s3://${bucketName}`).toString()
console.info(deleteResult)
Expand Down
1 change: 0 additions & 1 deletion scripts/release/release-prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ const releaseProd = async () => {
if (packageName === packageNameOnTag) {
const distPath = path.resolve(__dirname, '../../', 'packages', packageName, 'public', 'dist')
// Remove source map files
runCommand('rimraf', [`${distPath}/**/*.map`])
runCommand('aws', [
's3',
'cp',
Expand Down

0 comments on commit 181e517

Please sign in to comment.