silverwolf-x's picture
download
raw
305 Bytes
class BrokenPlugin {
apply(compiler) {
compiler.hooks.watchRun.tapPromise('BrokenPlugin', async () => {
throw new Error('oops')
})
}
}
module.exports = {
webpack(config, { isServer }) {
if (!isServer) {
config.plugins.push(new BrokenPlugin())
}
return config
},
}

Xet Storage Details

Size:
305 Bytes
·
Xet hash:
9972bf584d7690500b8c089f38d5d7807d576c01c5e7896169cdb1df3d25630a

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.