A
A
aesfur2018-06-13 15:34:00
JavaScript
aesfur, 2018-06-13 15:34:00

How to properly store js libraries on prod?

There is a django application on templates using js (a couple of charts). How to properly arrange the use of js libraries on the prod server?
Let's say we have jquery and chart.js. I just kept them in application static. I was told that keeping libs in a repository is not good. It's better to use webpack or yarn.
I thought they are used only for interface frameworks on node.js like react'a. Does this also apply to my case?
Please explain the best practice and leave links to examples or tutorials, if any.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2018-06-13
@aesfur

If you don't have active front-end development, keep it as it is
.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question