Buckets:
| import { webpack } from 'next/dist/compiled/webpack/webpack' | |
| import { getRspackCore } from './get-rspack' | |
| /** | |
| * Depending on if Rspack is active or not, returns the appropriate set of | |
| * webpack-compatible api. | |
| * | |
| * @returns webpack bundler | |
| */ | |
| export default function getWebpackBundler(): typeof webpack { | |
| return process.env.NEXT_RSPACK ? getRspackCore() : webpack | |
| } | |
Xet Storage Details
- Size:
- 373 Bytes
- Xet hash:
- 48cdd95a1bfc9e8b6709b26cae5f061f08b1b56b3177f2b0b1cd2c095ac254ff
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.