You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-6Lines changed: 4 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -22,14 +22,16 @@ You may be interested in:
22
22
23
23
## Installation
24
24
25
-
npm install --save-dev component-builder2
25
+
npm install --save-dev component-builder
26
+
27
+
_NOTE_: Don't use the npm repo ~~[component-builder2](https://www.npmjs.org/package/component-builder2)~~ anymore. You get both versions [component/builder.js](https://github.com/component/builder.js) and [component/builder2.js](https://github.com/component/builder2.js) at this npm repo now: [component-builder](https://www.npmjs.org/package/component-builder)
26
28
27
29
## Example
28
30
29
31
```js
30
32
var fs =require('fs');
31
33
var resolve =require('component-resolver');
32
-
var build =require('component-builder2');
34
+
var build =require('component-builder');
33
35
34
36
// resolve the dependency tree
35
37
resolve(process.cwd(), {
@@ -61,10 +63,6 @@ resolve(process.cwd(), {
61
63
})
62
64
```
63
65
64
-
You might also want more thorough examples:
65
-
66
-
-[simple-builder2-demo](http://github.com/mnmly/simple-builder2-demo): Simple demo that shows how to use plugins and build as bundles.
0 commit comments