File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,9 @@ describe('custom-elements', function() {
63
63
64
64
const solo = / \. s o l o $ / . test ( dir ) ;
65
65
const skip = / \. s k i p $ / . test ( dir ) ;
66
+ const easing = path . resolve ( 'easing/index.mjs' ) ;
66
67
const internal = path . resolve ( 'internal/index.mjs' ) ;
68
+ const transition = path . resolve ( 'transition/index.mjs' ) ;
67
69
const index = path . resolve ( 'index.mjs' ) ;
68
70
const warnings = [ ] ;
69
71
@@ -76,10 +78,18 @@ describe('custom-elements', function() {
76
78
plugins : [
77
79
{
78
80
resolveId ( importee ) {
79
- if ( importee === 'svelte/internal' || importee === './internal' ) {
81
+ if ( importee === '../easing' ) {
82
+ return easing ;
83
+ }
84
+
85
+ if ( importee === 'svelte/internal' || importee === './internal' || importee === '../internal' ) {
80
86
return internal ;
81
87
}
82
88
89
+ if ( importee === 'svelte/transition' || importee === './transition' ) {
90
+ return transition ;
91
+ }
92
+
83
93
if ( importee === 'svelte' ) {
84
94
return index ;
85
95
}
You can’t perform that action at this time.
0 commit comments