File tree Expand file tree Collapse file tree 4 files changed +13
-0
lines changed Expand file tree Collapse file tree 4 files changed +13
-0
lines changed Original file line number Diff line number Diff line change
1
+ /* see https://github.com/postcss/postcss-custom-media */
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
3
const EmberApp = require ( 'ember-cli/lib/broccoli/ember-app' ) ;
4
+ const postcssCustomMedia = require ( 'postcss-custom-media' ) ;
4
5
5
6
const { USE_EMBROIDER } = process . env ;
6
7
@@ -29,6 +30,11 @@ module.exports = function (defaults) {
29
30
extension : 'module.css' ,
30
31
plugins : {
31
32
before : [ require ( 'postcss-nested' ) ] ,
33
+ after : [
34
+ postcssCustomMedia ( {
35
+ importFrom : `${ __dirname } /app/styles/breakpoints.css` ,
36
+ } ) ,
37
+ ] ,
32
38
} ,
33
39
} ,
34
40
fingerprint : {
Original file line number Diff line number Diff line change 122
122
"match-json" : " 1.3.3" ,
123
123
"normalize.css" : " 8.0.1" ,
124
124
"nyc" : " 15.1.0" ,
125
+ "postcss-custom-media" : " 8.0.0" ,
125
126
"postcss-nested" : " 5.0.6" ,
126
127
"prettier" : " 2.5.1" ,
127
128
"qunit" : " 2.17.2" ,
Original file line number Diff line number Diff line change @@ -11665,6 +11665,11 @@ postcss-color-rebeccapurple@^4.0.1:
11665
11665
postcss "^7.0.2"
11666
11666
postcss-values-parser "^2.0.0"
11667
11667
11668
+ postcss-custom-media@8.0.0:
11669
+ version "8.0.0"
11670
+ resolved "https://registry.yarnpkg.com/postcss-custom-media/-/postcss-custom-media-8.0.0.tgz#1be6aff8be7dc9bf1fe014bde3b71b92bb4552f1"
11671
+ integrity sha512-FvO2GzMUaTN0t1fBULDeIvxr5IvbDXcIatt6pnJghc736nqNgsGao5NT+5+WVLAQiTt6Cb3YUms0jiPaXhL//g==
11672
+
11668
11673
postcss-custom-media@^7.0.8:
11669
11674
version "7.0.8"
11670
11675
resolved "https://registry.yarnpkg.com/postcss-custom-media/-/postcss-custom-media-7.0.8.tgz#fffd13ffeffad73621be5f387076a28b00294e0c"
You can’t perform that action at this time.
0 commit comments