diff --git a/webpack.config.js b/webpack.config.js index b134cd09014339f4a8558dc5db42467b1693ddc7..283d65706b5581768180d92d16cdd70c4ed847d9 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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 }]) ]) })) : []