Fix dependency source management for examples
This commit is contained in:
@@ -248,7 +248,7 @@ ExampleBuilder.prototype.render = async function(dir, chunk) {
|
||||
|
||||
data.pkgJson = JSON.stringify({
|
||||
name: name,
|
||||
dependencies: getDependencies(jsSource + workerSource ? `\n${workerSource}` : ''),
|
||||
dependencies: getDependencies(jsSource + (workerSource ? `\n${workerSource}` : '')),
|
||||
devDependencies: {
|
||||
parcel: '1.11.0'
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user