mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 23:57:22 +02:00
chore: prettier & eslint
This commit is contained in:
parent
56dfec19ea
commit
e8e1d5e097
7 changed files with 55 additions and 45 deletions
|
@ -3,7 +3,7 @@ const path = require('path');
|
|||
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
||||
|
||||
module.exports = function createBaseConfig(props) {
|
||||
const {outDir, themePath, sourceDir} = props;
|
||||
const {outDir, themePath, sourceDir, publicPath} = props;
|
||||
|
||||
const config = new Config();
|
||||
const isProd = process.env.NODE_ENV === 'production';
|
||||
|
@ -18,6 +18,7 @@ module.exports = function createBaseConfig(props) {
|
|||
.set('symlinks', true)
|
||||
.alias.set('@theme', themePath)
|
||||
.set('@source', sourceDir)
|
||||
.set('@generated', path.resolve(__dirname, '../generated'))
|
||||
.set('@core', path.resolve(__dirname, '../core'))
|
||||
.end();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue