File tree Expand file tree Collapse file tree 4 files changed +578
-633
lines changed Expand file tree Collapse file tree 4 files changed +578
-633
lines changed Original file line number Diff line number Diff line change 1
- @import 'helpers /unstyled.css' ;
2
- @import 'helpers /embed.css' ;
3
- @import 'helpers /flex.css' ;
4
- @import 'helpers /margin.css' ;
5
- @import 'helpers /padding.css' ;
6
- @import 'helpers /rounded.css' ;
1
+ @import '. /unstyled.css' ;
2
+ @import '. /embed.css' ;
3
+ @import '. /flex.css' ;
4
+ @import '. /margin.css' ;
5
+ @import '. /padding.css' ;
6
+ @import '. /rounded.css' ;
7
7
8
8
.img-fluid {
9
9
width : 100% ;
Original file line number Diff line number Diff line change 2
2
'use strict' ;
3
3
const Funnel = require ( 'broccoli-funnel' ) ;
4
4
const path = require ( 'path' ) ;
5
- const staticPostcssAddonTree = require ( 'static-postcss-addon-tree' ) ;
5
+ const CssImport = require ( 'postcss-import' )
6
+ const PresetEnv = require ( 'postcss-preset-env' ) ;
6
7
7
8
module . exports = {
8
9
name : require ( './package' ) . name ,
9
10
10
- options : { } ,
11
-
12
- treeForAddon ( ) {
13
- var tree = this . _super ( ...arguments ) ;
14
-
15
- return staticPostcssAddonTree ( tree , {
16
- addonName : 'ember-styleguide' ,
17
- addonFolder : __dirname ,
18
- project : this . project || this . app . project
19
- } ) ;
11
+ options : {
12
+ postcssOptions : {
13
+ compile : {
14
+ enabled : true ,
15
+ plugins : [
16
+ { module : CssImport } ,
17
+ {
18
+ module : PresetEnv ,
19
+ options : { stage : 3 }
20
+ }
21
+ ]
22
+ }
23
+ }
20
24
} ,
21
25
22
26
treeForPublic : function ( ) {
You can’t perform that action at this time.
0 commit comments