We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b6d6d4 commit c7fc2f8Copy full SHA for c7fc2f8
2 files changed
files/package.json
@@ -80,6 +80,9 @@
80
"type": "addon",
81
"main": "addon-main.cjs"
82
},
83
+ "imports": {
84
+ "#src/*": "./src/*"
85
+ },
86
"exports": {<% if (typescript) { %>
87
".": {
88
"types": "./declarations/index.d.ts",
tests/fixtures/rendering-tests/template-import-test.gjs
@@ -1,7 +1,7 @@
1
import { module, test } from 'qunit';
2
import { setupRenderingTest } from 'ember-qunit';
3
import { render } from '@ember/test-helpers';
4
-import TemplateImport from "my-addon/components/template-import";
+import TemplateImport from "#src/components/template-import";
5
6
module('Rendering | template-import', function(hooks) {
7
setupRenderingTest(hooks);
0 commit comments