Skip to content

Commit

Permalink
refactor ssg
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Oct 18, 2024
1 parent 5912973 commit cb52f63
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docusaurus/src/webpack/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export async function createStartClientConfig({
plugins: [
// Generates an `index.html` file with the <script> injected.
new HtmlWebpackPlugin({
template: path.join(__dirname, '../templates/dev.html.template.ejs'),
template: path.join(__dirname, './templates/dev.html.template.ejs'),
// So we can define the position where the scripts are injected.
inject: false,
filename: 'index.html',
Expand Down

0 comments on commit cb52f63

Please sign in to comment.