Commit 87c8886
Robert Jackson
Remove Bower support.
Retrieving `ember-template-compiler` from `bower_components` is only
required when using Ember versions older than 2.12. Bower itself is
essentially deprecated, this removes the fallback code to use
`bower_components/ember/ember-template-compiler.js` and improves the
error message when we can't actually find `ember-source`.
You can still provide a custom path to the template compiler (and
therefore use Bower if you wish) by:
```js
// ember-cli-build.js
module.exports = function(defaults) {
let app = new EmberApp(defaults, {
'ember-cli-htmlbars': {
templateCompilerPath: `some_path/to/ember-template-compiler.js`,
}
});
};
```1 parent 7026bb0 commit 87c8886
4 files changed
+36
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
128 | 145 | | |
129 | 146 | | |
130 | 147 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
| 194 | + | |
| 195 | + | |
199 | 196 | | |
200 | 197 | | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
205 | 203 | | |
206 | 204 | | |
207 | | - | |
| 205 | + | |
208 | 206 | | |
209 | 207 | | |
210 | 208 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7072 | 7072 | | |
7073 | 7073 | | |
7074 | 7074 | | |
7075 | | - | |
7076 | | - | |
7077 | | - | |
| 7075 | + | |
| 7076 | + | |
7078 | 7077 | | |
7079 | 7078 | | |
7080 | 7079 | | |
| |||
8402 | 8401 | | |
8403 | 8402 | | |
8404 | 8403 | | |
| 8404 | + | |
| 8405 | + | |
| 8406 | + | |
| 8407 | + | |
| 8408 | + | |
| 8409 | + | |
| 8410 | + | |
8405 | 8411 | | |
8406 | 8412 | | |
8407 | 8413 | | |
| |||
0 commit comments