We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e5cd7d commit 6d72f03Copy full SHA for 6d72f03
.changeset/cold-parents-eat.md
@@ -0,0 +1,5 @@
1
+---
2
+'@gqty/cli': patch
3
4
+
5
+ESM import path for optional deps in watch mode
packages/cli/src/commands/default.ts
@@ -181,7 +181,9 @@ export const addCommand = (command: Command) => {
181
// Watch mode
182
if (options.watch) {
183
const { printSchema } = await import('graphql');
184
- const { FasterSMA: SMA } = await import('trading-signals/dist/SMA/SMA');
+ const { FasterSMA: SMA } = await import(
185
+ 'trading-signals/dist/SMA/SMA.js'
186
+ );
187
const { default: throttle } = await import('lodash-es/throttle.js');
188
const {
189
default: { isMatch },
0 commit comments