I have a small Flask app which currently sources jQuery and highlight.js from external servers. I'd like to make these local dependencies which I pull in via NPM.
What is the standard practice for this? Should I create package.json
file in the same directory as my static
and templates
directories and serve node_modules
as a separate static dir ala this question?
I'm packaging and distributing my app using pip
, so any solution needs to be compatible with that.