From b585deb3fc0484f2641200b7d8f6df83a2c02a52 Mon Sep 17 00:00:00 2001 From: Pedro Garcia <1828469+pdgago@users.noreply.github.com> Date: Thu, 27 May 2021 19:18:38 +0200 Subject: [PATCH] support parcel 2.0.0 --- bundler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundler.js b/bundler.js index 1074491..727c398 100644 --- a/bundler.js +++ b/bundler.js @@ -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)