Skip to content

Commit

Permalink
Move templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Cena committed Jan 1, 2022
1 parent 3f269a8 commit 3dd3f60
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/docusaurus/src/commands/start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export default async function start(
new HtmlWebpackPlugin({
template: path.resolve(
__dirname,
'../client/templates/index.html.template.ejs',
'../webpack/templates/index.html.template.ejs',
),
// So we can define the position where the scripts are injected.
inject: false,
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus/src/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
} from '@docusaurus/utils';
import path from 'path';
import logger from '@docusaurus/logger';
import ssrDefaultTemplate from '../client/templates/ssr.html.template';
import ssrDefaultTemplate from '../webpack/templates/ssr.html.template';
import loadClientModules from './client-modules';
import loadConfig from './config';
import {loadPlugins} from './plugins';
Expand Down

0 comments on commit 3dd3f60

Please sign in to comment.