mirror of
https://github.com/scratchfoundation/scratch-storage.git
synced 2025-08-06 19:39:42 -04:00
feat!: upgrade webpack to 5 and add TS support
Breaking flag is because it may have some differences in the way the library is exported - `module.exports = ` vs `module.exports.default = `. That would depend on the Webpack config, so it should continue working, but just to be safe.
This commit is contained in:
parent
f4e7e908f5
commit
3d0b429526
30 changed files with 4507 additions and 5190 deletions
test/unit
|
@ -1,6 +1,6 @@
|
|||
const md5 = require('js-md5');
|
||||
|
||||
const ScratchStorage = require('../../dist/node/scratch-storage');
|
||||
const {ScratchStorage} = require('../../src/ScratchStorage');
|
||||
|
||||
// Hash and file size of each default asset
|
||||
const knownSizes = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue