javascript - Problems with grunt plug-in configuration browserify! ! ! !

WBOY
Release: 2016-09-02 08:57:08
Original
1312 people have browsed it

<code>  "dependencies": {
    "backbone": "^1.1.2",
    "jquery": "^2.1.0",
    "mustache": "^0.8.1"
  },
  "devDependencies": {
    "browserify": "~3.32.1",
    "grunt": "~0.4.4",
    "grunt-browserify": "~1.3.2",
    "grunt-contrib-clean": "^0.5.0",
    "grunt-contrib-watch": "^0.6.1",
    "brfs": "^1.0.1"
  }
  
  这里的browserify和grunt-browserify有什么区别?为什么要装两次?</code>
Copy after login
Copy after login

Reply content:

<code>  "dependencies": {
    "backbone": "^1.1.2",
    "jquery": "^2.1.0",
    "mustache": "^0.8.1"
  },
  "devDependencies": {
    "browserify": "~3.32.1",
    "grunt": "~0.4.4",
    "grunt-browserify": "~1.3.2",
    "grunt-contrib-clean": "^0.5.0",
    "grunt-contrib-watch": "^0.6.1",
    "brfs": "^1.0.1"
  }
  
  这里的browserify和grunt-browserify有什么区别?为什么要装两次?</code>
Copy after login
Copy after login

grunt-browserify is the browserify plug-in for grunt, and browserify is the ontology.
You can understand that the latter is the core, and the former is the bridge connecting the two tools.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!