File tree Expand file tree Collapse file tree 4 files changed +593
-632
lines changed Expand file tree Collapse file tree 4 files changed +593
-632
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' ;
77
88.img-fluid {
99 width : 100% ;
Original file line number Diff line number Diff line change 22'use strict' ;
33const Funnel = require ( 'broccoli-funnel' ) ;
44const path = require ( 'path' ) ;
5- const staticPostcssAddonTree = require ( 'static-postcss-addon-tree' ) ;
5+ const CssImport = require ( 'postcss-import' )
6+ const PresetEnv = require ( 'postcss-preset-env' ) ;
7+
8+ const plugins = [
9+ { module : CssImport } ,
10+ {
11+ module : PresetEnv ,
12+ options : {
13+ stage : 3 ,
14+ features : { 'nesting-rules' : true } ,
15+ }
16+ }
17+ ] ;
618
719module . exports = {
820 name : require ( './package' ) . name ,
921
10- options : { } ,
11-
12- treeForAddon ( ) {
13- var tree = this . _super ( ...arguments ) ;
22+ options : {
23+ postcssOptions : {
24+ compile : {
25+ enabled : true ,
26+ plugins,
27+ }
28+ }
29+ } ,
1430
15- return staticPostcssAddonTree ( tree , {
16- addonName : 'ember-styleguide' ,
17- addonFolder : __dirname ,
18- project : this . project || this . app . project
19- } ) ;
31+ included : function ( app ) {
32+ this . _super . included . apply ( this , arguments ) ;
33+ app . options = app . options || { } ;
34+ app . options . postcssOptions = {
35+ compile : {
36+ enabled : true ,
37+ plugins,
38+ }
39+ }
2040 } ,
2141
2242 treeForPublic : function ( ) {
You can’t perform that action at this time.
0 commit comments