feat(blog): add file-based blog with dynamic slugs, MDX content and layout shell
- Introduced blog routing using Next.js App Router - Implemented dynamic [slug] pages for blog posts - Added MDX-based content loading via lib/posts - Integrated shared TopBar layout with navigation - Established clear content, lib and component separation
This commit is contained in:
25
apps/public-web/node_modules/next/dist/lib/bundler.d.ts
generated
vendored
Normal file
25
apps/public-web/node_modules/next/dist/lib/bundler.d.ts
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
export declare enum Bundler {
|
||||
Turbopack = 0,
|
||||
Webpack = 1,
|
||||
Rspack = 2
|
||||
}
|
||||
/**
|
||||
* Parse the bundler arguments and potentially sets the `TURBOPACK` environment variable.
|
||||
*
|
||||
* NOTE: rspack is configured via next config which is chaotic so it is possible for this to be overridden later.
|
||||
*
|
||||
* @param options The options to parse.
|
||||
* @returns The bundler that was configured
|
||||
*/
|
||||
export declare function parseBundlerArgs(options: {
|
||||
turbo?: boolean;
|
||||
turbopack?: boolean;
|
||||
webpack?: boolean;
|
||||
}): Bundler;
|
||||
/**
|
||||
* Finalize the bundler based on the config.
|
||||
*
|
||||
* Rspack is configured via next config by setting an environment variable (yay, side effects)
|
||||
* so this should only be called after parsing the config.
|
||||
*/
|
||||
export declare function finalizeBundlerFromConfig(fromOptions: Bundler): Bundler;
|
||||
Reference in New Issue
Block a user