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,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 = {