Skip to content

Commit 5934bdf

Browse files
committed
add more details to the documentation
1 parent 6a2b275 commit 5934bdf

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

docs/Promise.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ title: requirejs-dplugins/Promise
88
`requirejs-dplugins/Promise` provides an ES6 Promise implementation. If the browser does not provide it, the
99
plugin will load the [lie](https://github.com/calvinmetcalf/lie) implementation.
1010

11+
If RequireJS `baseUrl` is not the `bower_components` directory, the path to the `lie` directory should be set
12+
using RequireJS `paths` configuration.
13+
1114
## Sample
1215
```
1316
require(["requirejs-dplugins/Promise!"], function(Promise){

docs/css.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ define(["requirejs-dplugins/css!myproj/comp.css"], function (){
3434

3535
## Build
3636

37-
During the build, this plugin will collect all the CSS files required and create a layer with all the CSS
38-
files concatenated. This layer will be optimized using
39-
[clean-css](https://github.com/jakubpawlowicz/clean-css) if it is installed.
37+
To build a CSS layer containing all the CSS files required, [clean-css](https://github.com/jakubpawlowicz/clean-css)
38+
needs to be installed in the `node_modules` directory of the application.
39+
Clean-css should be added to the application `devDependencies` property in `package.json` so it is
40+
automatically installed with `npm install`.

0 commit comments

Comments
 (0)