Skip to content

Commit

Permalink
fix: add file extension to default entrypoints in d2.config (#561)
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiVandivier authored May 20, 2021
1 parent 2348a19 commit 6cb8543
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/config/d2.config.app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const config = {
type: 'app',

entryPoints: {
app: './src/App',
app: './src/App.js',
},
}

Expand Down
2 changes: 1 addition & 1 deletion cli/config/d2.config.lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const config = {
type: 'lib',

entryPoints: {
lib: './src/index',
lib: './src/index.js',
},
}

Expand Down

0 comments on commit 6cb8543

Please sign in to comment.