简体   繁体   中英

How to integrate a script of an external git repo into the grunt package.json

I just stumbled upon grunt and i wonder how to integrate

  1. local JS Scripts into package.json and
  2. how to load an external JS Library ( for example) from git

Is the package.json the right place for that? How should I include external JS Libs in my project with grunt?

You can use Grunt-Execute to execute the external JS for your project . From the comments the Appear doesnt sound like a script to me. Not sure how it fits in Build cycle

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM