I've been trying to do this for quite some time now, does anyone know how do I use import or require in express static folder. I get require not defined and I get it its non existent in browsers and I'm too lazy to try and set up webpack/babel/browserify, is that the only way to do it and what is the fastest way?
from Express how to use Import / require() in Static Folder
No comments:
Post a Comment