Use dist path for library JSON files of GUI

In conjunction with https://github.com/LLK/scratch-gui/pull/5277, since we removed /src from the published gui files
This commit is contained in:
Paul Kaplan 2019-11-01 11:12:17 -04:00 committed by GitHub
parent de6a271311
commit f11e1c4279
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
const backdrops = require('scratch-gui/src/lib/libraries/backdrops.json');
const costumes = require('scratch-gui/src/lib/libraries/costumes.json');
const sounds = require('scratch-gui/src/lib/libraries/sounds.json');
const sprites = require('scratch-gui/src/lib/libraries/sprites.json');
const backdrops = require('scratch-gui/dist/libraries/backdrops.json');
const costumes = require('scratch-gui/dist/libraries/costumes.json');
const sounds = require('scratch-gui/dist/libraries/sounds.json');
const sprites = require('scratch-gui/dist/libraries/sprites.json');
const libraries = {
backdrops,