Merge pull request #5277 from paulkaplan/publish-libs

Include library JSON files in package distribution
This commit is contained in:
Paul Kaplan authored and GitHub committed 2019-11-04 05:11:02 -05:00
commit c3d7c086f8
1 file changed
+6
+6
View File
@@ -219,6 +219,12 @@ module.exports = [
new CopyWebpackPlugin([{
from: 'extension-worker.{js,js.map}',
context: 'node_modules/scratch-vm/dist/web'
}]),
// Include library JSON files for scratch-desktop to use for downloading
new CopyWebpackPlugin([{
from: 'src/lib/libraries/*.json',
to: 'libraries',
flatten: true
}])
])
})) : []