silverwolf-x's picture
download
raw
564 Bytes
process.env.RSPACK_BINDING = require('node:path').dirname(
require.resolve('@next/rspack-binding')
)
const binding = require('@next/rspack-binding')
// Register the plugin `NextExternalsPlugin` exported by `crates/binding/src/lib.rs`.
binding.registerNextExternalsPlugin()
const core = require('@rspack/core')
const NextExternalsPlugin = core.experiments.createNativePlugin(
'NextExternalsPlugin',
function (options) {
return options
}
)
Object.defineProperty(core, 'NextExternalsPlugin', {
value: NextExternalsPlugin,
})
module.exports = core

Xet Storage Details

Size:
564 Bytes
·
Xet hash:
2e2f7cdc315b970740633de7d034e88643542d0d7d13d89941cc4f5d0f5e29e6

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