You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// if we can't resolve this import without the `svelte` condition, warn the user
100
-
if(!resolved){
101
-
try{
102
-
resolve(pkg,entry,{conditions: ['svelte']});
100
+
// if we can't resolve this import without the `svelte` condition, warn the user
101
+
if(!resolved){
102
+
try{
103
+
resolve(pkg,entry,{conditions: ['svelte']});
103
104
104
-
if(!warned){
105
-
console.error('\n\u001B[1m\u001B[31mWARNING: Your @rollup/plugin-node-resolve configuration\'s \'exportConditions\' array should include \'svelte\'. See https://github.com/sveltejs/rollup-plugin-svelte#svelte-exports-condition for more information\u001B[39m\u001B[22m\n');
106
-
warned=true;
107
-
}
108
-
}catch(e){
109
-
// do nothing, this isn't a Svelte library
105
+
if(!warned){
106
+
console.error('\n\u001B[1m\u001B[31mWARNING: Your @rollup/plugin-node-resolve configuration\'s \'exportConditions\' array should include \'svelte\'. See https://github.com/sveltejs/rollup-plugin-svelte#svelte-exports-condition for more information\u001B[39m\u001B[22m\n');
0 commit comments