File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 - lts-3.8
3131 - lts-3.4
3232 - lts-2.18
33+ - embroider
3334 steps :
3435 - name : Checkout
3536 uses : actions/checkout@v1
Original file line number Diff line number Diff line change @@ -113,6 +113,16 @@ module.exports = async function() {
113113 edition : 'classic'
114114 }
115115 }
116+ } ,
117+ {
118+ name : 'ember-embroider' ,
119+ npm : {
120+ devDependencies : {
121+ '@embroider/core' : '*' ,
122+ '@embroider/webpack' : '*' ,
123+ '@embroider/compat' : '*' ,
124+ } ,
125+ } ,
116126 }
117127 ]
118128 } ;
Original file line number Diff line number Diff line change @@ -14,5 +14,16 @@ module.exports = function(defaults) {
1414 behave. You most likely want to be modifying `./index.js` or app's build file
1515 */
1616
17+ if ( '@embroider/webpack' in app . dependencies ( ) ) {
18+ const { Webpack } = require ( '@embroider/webpack' ) ; // eslint-disable-line
19+ return require ( '@embroider/compat' ) // eslint-disable-line
20+ . compatBuild ( app , Webpack , {
21+ staticAddonTestSupportTrees : true ,
22+ staticAddonTrees : true ,
23+ staticHelpers : true ,
24+ staticComponents : true ,
25+ } ) ;
26+ }
27+
1728 return app . toTree ( ) ;
1829} ;
You can’t perform that action at this time.
0 commit comments