File tree 4 files changed +16
-260
lines changed
config/postcss.components
4 files changed +16
-260
lines changed Original file line number Diff line number Diff line change 1
- const postcssNesting = require ( 'postcss-nesting' ) ;
2
1
const postcssAddFallback = require ( '../../lib/postcss-add-fallback/index.js' ) ;
3
2
const postcssCSStoESM = require ( '../../lib/postcss-css-to-esm/index.js' ) ;
4
3
const cssnano = require ( 'cssnano' ) ;
5
4
6
5
module . exports = {
7
6
plugins : [
8
- postcssNesting ( ) ,
9
7
postcssAddFallback ( { importFrom : "./dist/css/themes/sap_fiori_3/parameters-bundle.css" } ) ,
10
- cssnano ( { preset : [
11
- 'default' , {
12
- mergeLonghand : false , // https://github.com/cssnano/cssnano/issues/675
13
- mergeRules : false , // https://github.com/cssnano/cssnano/issues/730
14
- } ,
15
- ] } , ) ,
8
+ cssnano ( {
9
+ preset : [
10
+ 'default' , {
11
+ mergeLonghand : false , // https://github.com/cssnano/cssnano/issues/675
12
+ mergeRules : false , // https://github.com/cssnano/cssnano/issues/730
13
+ } ,
14
+ ]
15
+ } ) ,
16
16
postcssCSStoESM ( ) ,
17
17
]
18
18
} ;
Original file line number Diff line number Diff line change 126
126
"postcss" : " ^7.0.14" ,
127
127
"postcss-cli" : " ^6.1.1" ,
128
128
"postcss-combine-duplicated-selectors" : " ^7.0.0" ,
129
- "postcss-csso" : " ^3.0.0" ,
130
129
"postcss-import" : " ^12.0.1" ,
131
- "postcss-nesting" : " ^7.0.0" ,
132
130
"puppeteer" : " ^1.11.0" ,
133
131
"rimraf" : " ^2.6.2" ,
134
132
"rollup" : " ^1.1.2" ,
138
136
"rollup-plugin-less" : " ^1.1.2" ,
139
137
"rollup-plugin-node-resolve" : " ^4.0.0" ,
140
138
"rollup-plugin-notify" : " ^1.1.0" ,
141
- "rollup-plugin-postcss" : " ^2.0.3" ,
142
139
"rollup-plugin-string" : " ^2.0.2" ,
143
140
"rollup-plugin-terser" : " ^4.0.3" ,
144
141
"rollup-plugin-url" : " ^2.2.0" ,
Original file line number Diff line number Diff line change @@ -7,11 +7,6 @@ import url from "rollup-plugin-url";
7
7
import { terser } from "rollup-plugin-terser" ;
8
8
import notify from 'rollup-plugin-notify' ;
9
9
import filesize from 'rollup-plugin-filesize' ;
10
- import postcss from 'rollup-plugin-postcss' ;
11
- import postcssImport from 'postcss-import' ;
12
- import postcssNesting from 'postcss-nesting' ;
13
- import csso from 'postcss-csso' ;
14
-
15
10
16
11
const DIST = path . normalize ( "dist" ) ;
17
12
const DIST_PLAYGROUND = path . normalize ( "dist/resources/sap/ui/webcomponents/main" ) ;
You can’t perform that action at this time.
0 commit comments