mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-15 18:17:35 +02:00
chore: eslint & prettier nits
This commit is contained in:
parent
a4cc782858
commit
15ce4a95e2
4 changed files with 68 additions and 69 deletions
|
@ -1 +1,3 @@
|
|||
generated
|
||||
__fixtures__
|
||||
dist
|
|
@ -68,7 +68,6 @@
|
|||
"semver": "^5.5.0",
|
||||
"static-site-generator-webpack-plugin": "^3.4.1",
|
||||
"webpack": "^4.16.3",
|
||||
"webpack-bundle-analyzer": "^2.13.1",
|
||||
"webpack-chain": "^4.8.0",
|
||||
"webpack-nicelog": "^2.2.1",
|
||||
"webpack-serve": "^2.0.2"
|
||||
|
|
|
@ -8,9 +8,9 @@ const loadSetup = async name => {
|
|||
|
||||
switch (name) {
|
||||
case 'simple':
|
||||
return await load(simpleWebsite);
|
||||
return load(simpleWebsite);
|
||||
case 'custom':
|
||||
return await load(customWebsite);
|
||||
return load(customWebsite);
|
||||
default:
|
||||
return {};
|
||||
}
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
import webpack from 'webpack';
|
||||
import path from 'path';
|
||||
import createBaseConfig from '@lib/webpack/base';
|
||||
import createDevConfig from '@lib/webpack/dev';
|
||||
import createProdConfig from '@lib/webpack/prod';
|
||||
import loadSetup from '../loadSetup';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue