sveltejs / svelte-loader

Webpack loader for svelte components.
MIT License
594 stars 73 forks source link

fix: dependencies length 0 #208

Closed 2239559319 closed 1 year ago

2239559319 commented 1 year ago

dependencies maybe a array with length 0. Optimize.

dummdidumm commented 1 year ago

Thank you, but I don't see a difference in behavior to the previous code, and I doubt that it makes a difference performance wise since iterating over an array of length 0 should be just as fast. Therefore closing this.