Use Parcel v2 in copy/paste example code
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user