Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
12
node_modules/next/dist/esm/shared/lib/get-webpack-bundler.js
generated
vendored
Normal file
12
node_modules/next/dist/esm/shared/lib/get-webpack-bundler.js
generated
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
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() {
|
||||
return process.env.NEXT_RSPACK ? getRspackCore() : webpack;
|
||||
}
|
||||
|
||||
//# sourceMappingURL=get-webpack-bundler.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue