Skip to content

Commit

Permalink
Add lazy engine with style preprocessors.
Browse files Browse the repository at this point in the history
Demonstrates an issue in ember-engines build pipeline.
  • Loading branch information
rwjblue committed Feb 24, 2017
1 parent ee592bd commit 19b0097
Show file tree
Hide file tree
Showing 8 changed files with 52 additions and 0 deletions.
Empty file added app/styles/app.scss
Empty file.
1 change: 1 addition & 0 deletions lib/lazy-with-style-preprocessors/addon/styles/addon.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import 'vanilla-addon-in-lazy-with-style-preprocessor';
11 changes: 11 additions & 0 deletions lib/lazy-with-style-preprocessors/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/*jshint node:true*/
var EngineAddon = require('ember-engines/lib/engine-addon');
module.exports = EngineAddon.extend({
name: 'lazy-with-style-preprocessors',

lazyLoading: true,

isDevelopingAddon: function() {
return true;
},
});
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* vanilla-addon-in-lazy-with-style-preprocessor */
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*jshint node:true*/
module.exports = {
name: 'vanilla-addon-in-lazy-with-style-preprocessor',

isDevelopingAddon: function() {
return true;
},
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "vanilla-addon-in-lazy-with-style-preprocessor",
"keywords": [
"ember-addon",
"ember-engine"
],
"dependencies": {},
"ember-addon": {
"paths": []
}
}
18 changes: 18 additions & 0 deletions lib/lazy-with-style-preprocessors/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "lazy-with-style-preprocessors",
"keywords": [
"ember-addon",
"ember-engine"
],
"dependencies": {
"ember-ajax": "*",
"ember-cli-babel": "*",
"ember-cli-htmlbars": "*",
"ember-cli-sass": "*"
},
"ember-addon": {
"paths": [
"lib/vanilla-addon-in-lazy-with-style-preprocessor"
]
}
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"ember-cli-htmlbars-inline-precompile": "^0.3.3",
"ember-cli-inject-live-reload": "^1.4.1",
"ember-cli-qunit": "^3.0.4",
"ember-cli-sass": "^6.1.1",
"ember-cli-sri": "^2.1.0",
"ember-cli-test-loader": "^1.1.0",
"ember-cli-uglify": "^1.2.0",
Expand All @@ -50,6 +51,7 @@
"paths": [
"lib/eager",
"lib/lazy",
"lib/lazy-with-style-preprocessors",
"lib/tree-invocation-order",
"lib/vanilla-addon"
]
Expand Down

0 comments on commit 19b0097

Please sign in to comment.