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
+2 -3
View File
@@ -332,12 +332,11 @@ class ExampleBuilder {
jsSource + (workerSource ? `\n${workerSource}` : '') jsSource + (workerSource ? `\n${workerSource}` : '')
), ),
devDependencies: { devDependencies: {
parcel: '1.11.0', parcel: '^2.0.0-beta.1',
}, },
scripts: { scripts: {
start: 'parcel index.html', start: 'parcel index.html',
build: build: 'parcel build --public-url . index.html',
'parcel build --experimental-scope-hoisting --public-url . index.html',
}, },
}, },
null, null,