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:
Georgi Angelov 2024-10-10 11:45:50 +03:00
parent f4e7e908f5
commit 3d0b429526
30 changed files with 4507 additions and 5190 deletions

View file

@ -1,4 +1,4 @@
const ScratchStorage = require('../../src');
const {ScratchStorage} = require('../../src/ScratchStorage');
/**
* Simulate a storage helper, adding log messages when "load" is called rather than actually loading anything.