Merge pull request #11691 from ahocevar/parcel2

Use Parcel v2 in copy/paste example code
This commit is contained in:
Andreas Hocevar
2020-10-26 18:28:19 +01:00
committed by GitHub

View File

@@ -332,12 +332,11 @@ class ExampleBuilder {
jsSource + (workerSource ? `\n${workerSource}` : '')
),
devDependencies: {
parcel: '1.11.0',
parcel: '^2.0.0-beta.1',
},
scripts: {
start: 'parcel index.html',
build:
'parcel build --experimental-scope-hoisting --public-url . index.html',
build: 'parcel build --public-url . index.html',
},
},
null,