From 6cb8543f20154b4e9dc3c564c479ff3e66237984 Mon Sep 17 00:00:00 2001 From: KaiVandivier <49666798+KaiVandivier@users.noreply.github.com> Date: Thu, 20 May 2021 23:23:57 +0200 Subject: [PATCH] fix: add file extension to default entrypoints in d2.config (#561) --- cli/config/d2.config.app.js | 2 +- cli/config/d2.config.lib.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/config/d2.config.app.js b/cli/config/d2.config.app.js index 4806d1280..fb32d2704 100644 --- a/cli/config/d2.config.app.js +++ b/cli/config/d2.config.app.js @@ -2,7 +2,7 @@ const config = { type: 'app', entryPoints: { - app: './src/App', + app: './src/App.js', }, } diff --git a/cli/config/d2.config.lib.js b/cli/config/d2.config.lib.js index 1412b0279..fd5e270de 100644 --- a/cli/config/d2.config.lib.js +++ b/cli/config/d2.config.lib.js @@ -2,7 +2,7 @@ const config = { type: 'lib', entryPoints: { - lib: './src/index', + lib: './src/index.js', }, }