Use Parcel v2 in copy/paste example code

This commit is contained in:
Andreas Hocevar
2020-10-26 11:55:14 +01:00
parent f4469934b8
commit aa918d44c5

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,