jaredpalmer / backpack

🎒 Backpack is a minimalistic build system for Node.js projects.
MIT License
4.44k stars 167 forks source link

Using backpack with express as API endpoint without views. #78

Open dorkblue opened 7 years ago

dorkblue commented 7 years ago

I'm using backpack with express purely as API endpoint without any views. Front end will be React.

How do I remove this warning?

Critical dependency: the request of a dependency is an expression

AndrewBogdanovTSS commented 6 years ago

@dorkblue provide more context. It's unclear why you receive such warning. I'm using Backpack with Express REST API and I don't get any warnings

cranesandcaff commented 5 years ago

I'm using Backpack with a view layer and seem to be running into an issue that I think is related. We have an Express app with Pug views and it throws errors that Pug cannot be found. I added pug to the loader list.