I can’t believe it is so difficult to import a simple npm module as
‘rss-parser’
into a Stencil project.
I installed it and tried to use it with
import { rss-parser } from ‘rss-parser’
and a lot of different syntax for importing it. I just cant get it to work. What am I still doing wrong after 10 hours?
Is this a bundler problem or am I missing something else? Im pretty new to ionic/stencil.
hello,
as the repo do not provide an example for proper import, you can try different things. For example entrys inside bracket pairs starts with uppercase. Import {Rss…
If you use visual code, then its makes life much more easier using extension that helps with imports like npm Intellisense, etc… If you use something different, then look their if they have something like that.