zhaojs
2023-07-05 7a246e86fd5677cb6ce954003d5cb07fed87be6f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/bin/bash
 
# To cover all possible use case, you should change `optimizeCss` in `example/build.js` from "none" to
# optimizeCss: "standard.keepLines"
# optimizeCss: "standard.keepWhitespace"
# optimizeCss: "standard.keepComments"
# optimizeCss: "standard.keepComments.keepLines"
# optimizeCss: "standard.keepLines.keepWhitespace" - default by r.js
 
(
  npm install requirejs@2.1.10 -g
 
  npm install csso@1.3.12 -g
  r.js -o example/build.js
 
  npm install csso@1.4.0 -g
  r.js -o example/build.js
 
  npm install csso@1.8.0 -g
  r.js -o example/build.js
 
  npm install csso@2.0.0 -g
  r.js -o example/build.js
 
  npm install csso@latest -g
  r.js -o example/build.js
 
  # RequireJS@latest
 
  npm install requirejs@latest -g
 
  npm install csso@1.3.12 -g
  r.js -o example/build.js
 
  npm install csso@1.4.0 -g
  r.js -o example/build.js
 
  npm install csso@1.8.0 -g
  r.js -o example/build.js
 
  npm install csso@2.0.0 -g
  r.js -o example/build.js
 
  npm install csso@latest -g
  r.js -o example/build.js
) > compatibility.log