Skip to content

Commit ef70869

Browse files
committed
Fix self-imports so that you no longer are required to perform a build in order to get them to work at all
1 parent 1737e4c commit ef70869

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

files/vite.config.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ import { extensions, ember } from '@embroider/vite';
33
import { babel } from '@rollup/plugin-babel';
44

55
export default defineConfig({
6+
resolve: {
7+
alias: [
8+
{
9+
find: '<%= name %>',
10+
replacement: `${__dirname}/src`,
11+
},
12+
],
13+
},
614
plugins: [
715
ember(),
816
babel({

0 commit comments

Comments
 (0)