mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-03 19:32:35 +02:00
fix(v2): clean build dir only on build command
This commit is contained in:
parent
d64581f2b4
commit
0f94c062a5
5 changed files with 31 additions and 21 deletions
|
@ -9,7 +9,7 @@ import '@babel/polyfill';
|
|||
import path from 'path';
|
||||
import load from '@lib/load';
|
||||
|
||||
// Helper methods to setup dummy/ fake projects
|
||||
// Helper methods to setup dummy/fake projects
|
||||
const loadSetup = async name => {
|
||||
const fixtures = path.join(__dirname, '__fixtures__');
|
||||
const simpleSite = path.join(fixtures, 'simple-site');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue