We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd70eab commit 79b9115Copy full SHA for 79b9115
docs/docs/install.md
@@ -39,15 +39,29 @@ $ bower install --save bluebird
39
$ npm install bluebird
40
```
41
42
+Using webpack for development/debugging:
43
+
44
```js
45
var Promise = require("bluebird");
-// Configure
46
+// Configure webpack and browserify for development/debugging
47
Promise.config({
48
longStackTraces: true,
49
warnings: true // note, run node with --trace-warnings to see full stack traces for warnings
50
})
51
52
53
+Using webpack for production/performance:
54
55
56
+```js
57
+var Promise = require("bluebird");
58
+// Configure webpack and browserify for production/performance
59
+Promise.config({
60
+ longStackTraces: false,
61
+ warnings: false
62
+})
63
+```
64
65
##Node installation
66
67
0 commit comments