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', }, }