Skip to content

Commit

Permalink
fix: fix dist-dir argument in building process
Browse files Browse the repository at this point in the history
  • Loading branch information
Przemysław Szejna committed Jan 18, 2022
1 parent 57b3576 commit bb1801f
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 bb1801f

Please sign in to comment.