/opt/canhelp/node_modules/next/dist/esm/build/webpack/loaders
NameSizeModeActions
css-loader/-0755rm
devtool/-0755rm
lightningcss-loader/-0755rm
metadata/-0755rm
next-app-loader/-0755rm
next-edge-app-route-loader/-0755rm
next-edge-ssr-loader/-0755rm
next-flight-loader/-0755rm
next-font-loader/-0755rm
next-image-loader/-0755rm
next-route-loader/-0755rm
next-style-loader/-0755rm
postcss-loader/-0755rm
resolve-url-loader/-0755rm
empty-loader.js1140644editdlrm
empty-loader.js.map3740644editdlrm
error-loader.js10280644editdlrm
error-loader.js.map16730644editdlrm
get-module-build-info.js2760644editdlrm
get-module-build-info.js.map19320644editdlrm
modularize-import-loader.js8810644editdlrm
modularize-import-loader.js.map17030644editdlrm
next-barrel-loader.js99640644editdlrm
next-barrel-loader.js.map155070644editdlrm
next-client-pages-loader.js10070644editdlrm
next-client-pages-loader.js.map19040644editdlrm
next-edge-function-loader.js16500644editdlrm
next-edge-function-loader.js.map32160644editdlrm
next-error-browser-binary-loader.js5050644editdlrm
next-error-browser-binary-loader.js.map9130644editdlrm
next-flight-action-entry-loader.js7660644editdlrm
next-flight-action-entry-loader.js.map19410644editdlrm
next-flight-client-entry-loader.js17600644editdlrm
next-flight-client-entry-loader.js.map41450644editdlrm
next-flight-client-module-loader.js19820644editdlrm
next-flight-client-module-loader.js.map34360644editdlrm
next-flight-css-loader.js17050644editdlrm
next-flight-css-loader.js.map30520644editdlrm
next-flight-server-reference-proxy-loader.js11280644editdlrm
next-flight-server-reference-proxy-loader.js.map18690644editdlrm
next-invalid-import-error-loader.js3620644editdlrm
next-invalid-import-error-loader.js.map7210644editdlrm
next-metadata-image-loader.js55820644editdlrm
next-metadata-image-loader.js.map97740644editdlrm
next-metadata-route-loader.js87140644editdlrm
next-metadata-route-loader.js.map136960644editdlrm
next-middleware-asset-loader.js7180644editdlrm
next-middleware-asset-loader.js.map15150644editdlrm
next-middleware-loader.js15600644editdlrm
next-middleware-loader.js.map35850644editdlrm
next-middleware-wasm-loader.js6610644editdlrm
next-middleware-wasm-loader.js.map14680644editdlrm
next-root-params-loader.js48620644editdlrm
next-root-params-loader.js.map85580644editdlrm
next-swc-loader.js90730644editdlrm
next-swc-loader.js.map150380644editdlrm
utils.js29630644editdlrm
utils.js.map58210644editdlrm
Edit: /opt/canhelp/node_modules/next/dist/esm/build/webpack/loaders/next-flight-client-module-loader.js (1982B)
import { getRSCModuleInformation } from '../../analysis/get-page-static-info'; import { getModuleBuildInfo } from './get-module-build-info'; const flightClientModuleLoader = function transformSource(source, sourceMap) { // Avoid buffer to be consumed if (typeof source !== 'string') { throw Object.defineProperty(new Error('Expected source to have been transformed to a string.'), "__NEXT_ERROR_CODE", { value: "E429", enumerable: false, configurable: true }); } if (!this._module) { return source; } // Assign the RSC meta information to buildInfo. const buildInfo = getModuleBuildInfo(this._module); buildInfo.rsc = getRSCModuleInformation(source, false); let prefix = ''; if (process.env.BUILTIN_FLIGHT_CLIENT_ENTRY_PLUGIN) { const rscModuleInformationJson = JSON.stringify(buildInfo.rsc); prefix = `/* __rspack_internal_rsc_module_information_do_not_use__ ${rscModuleInformationJson} */\n`; source = prefix + source; } // This is a server action entry module in the client layer. We need to // create re-exports of "virtual modules" to expose the reference IDs to the // client separately so they won't be always in the same one module which is // not splittable. This server action module tree shaking is only applied in // production mode. In development mode, we want to preserve the original // modules (as transformed by SWC) to ensure that source mapping works. if (buildInfo.rsc.actionIds && process.env.NODE_ENV === 'production') { return prefix + Object.entries(buildInfo.rsc.actionIds).map(([id, name])=>{ return `export { ${name} } from 'next-flight-server-reference-proxy-loader?id=${id}&name=${name}!'`; }).join('\n'); } return this.callback(null, source, sourceMap); }; export default flightClientModuleLoader; //# sourceMappingURL=next-flight-client-module-loader.js.map