diff --git a/packages/test-setup/src/index.ts b/packages/test-setup/src/index.ts index 587bd6cc7..fe7d17342 100644 --- a/packages/test-setup/src/index.ts +++ b/packages/test-setup/src/index.ts @@ -5,7 +5,7 @@ import type { Webpack } from '@embroider/webpack'; type EmberWebpackOptions = typeof Webpack extends PackagerConstructor ? Options : never; // eslint-disable-next-line @typescript-eslint/no-require-imports -const currentEmbroiderVersion = require('../package.json').version; +const currentEmbroiderVersion = `^${require('../package.json').version}`; /* Use this instead of `app.toTree()` in your ember-cli-build.js: