Skip to content

Commit

Permalink
Merge pull request #185 from SoftwareBrothers/fix-dist-dir-argument
Browse files Browse the repository at this point in the history
fix: fix dist-dir argument in building process
  • Loading branch information
przemyslaw-szejna-sb authored Jan 18, 2022
2 parents dde45e5 + bb1801f commit 58cd14f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bundler.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ module.exports = function bundle (Components, out, config) {
fs.writeFileSync(entry, entryFile)
console.log('Bundling components')
const outDist = path.join(out, 'build')
const cmd = `${process.platform === 'win32' ? 'SET ' : ''}NODE_ENV=development parcel build ${entry} --out-dir ${outDist}`
const cmd = `${process.platform === 'win32' ? 'SET ' : ''}NODE_ENV=development parcel build ${entry} --dist-dir ${outDist}`
console.log(`running: ${cmd}`)
try {
execSync(cmd)
Expand Down

0 comments on commit 58cd14f

Please sign in to comment.