File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ title: requirejs-dplugins/Promise
8
8
` requirejs-dplugins/Promise ` provides an ES6 Promise implementation. If the browser does not provide it, the
9
9
plugin will load the [ lie] ( https://github.com/calvinmetcalf/lie ) implementation.
10
10
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
+
11
14
## Sample
12
15
```
13
16
require(["requirejs-dplugins/Promise!"], function(Promise){
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ define(["requirejs-dplugins/css!myproj/comp.css"], function (){
34
34
35
35
## Build
36
36
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 ` .
You can’t perform that action at this time.
0 commit comments