mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-13 17:17:28 +02:00
feat(core): support docusaurus.config.cjs as default file name (#7371)
This commit is contained in:
parent
35e63515e6
commit
be912c698a
8 changed files with 97 additions and 23 deletions
|
@ -30,8 +30,11 @@ export const DEFAULT_BUILD_DIR_NAME = 'build';
|
|||
/**
|
||||
* Can be overridden with cli option `--config`. Code should generally use
|
||||
* `context.siteConfigPath` instead (which is always absolute).
|
||||
*
|
||||
* This does not have extensions, so that we can substitute different ones
|
||||
* when resolving the path.
|
||||
*/
|
||||
export const DEFAULT_CONFIG_FILE_NAME = 'docusaurus.config.js';
|
||||
export const DEFAULT_CONFIG_FILE_NAME = 'docusaurus.config';
|
||||
|
||||
/** Can be absolute or relative to site directory. */
|
||||
export const BABEL_CONFIG_FILE_NAME =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue