mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 23:57:22 +02:00
chore(v2): remove hardcoded references to config filename
This commit is contained in:
parent
7dae4bd0d1
commit
c46a894a01
8 changed files with 96 additions and 64 deletions
|
@ -19,6 +19,7 @@ const portfinder = require('portfinder');
|
|||
const serve = require('webpack-serve');
|
||||
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
||||
const load = require('../load');
|
||||
const loadConfig = require('../load/config');
|
||||
const createClientConfig = require('../webpack/client');
|
||||
const {applyConfigureWebpack} = require('../webpack/utils');
|
||||
|
||||
|
@ -50,7 +51,7 @@ module.exports = async function start(siteDir, cliOptions = {}) {
|
|||
[
|
||||
`../${docsRelativeDir}/**/*.md`,
|
||||
'blog/**/*.md',
|
||||
'docusaurus.config.js',
|
||||
loadConfig.configFileName,
|
||||
'sidebars.json',
|
||||
],
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue