Bundling front-end code into standalone modules
over 8 years ago from Brandon Durham, Senior Interactive Designer / Developer with Hoefler & Co.
Doing some research around bundling front-end dependencies into portable modules and wonder, what are your recommendations?
My needs:
I'm working on a form for a site that relies on three files: JS (for validation and reactive fields), CSS, and an HTML template (currently JST, but can be Mustache/Handlebars/Whatever). This form needs to appear in various places throughout the site, often with minor differences (some fields can be hidden in certain views).
What are my options for bundling this code into a portable module? Do you have experience with anything in particular that you can recommend?
THANK YOU!
Login to Comment
You'll need to log in before you can leave a comment.
LoginRegister Today
New accounts can leave comments immediately, and gain full permissions after one week.
Register now