-
Notifications
You must be signed in to change notification settings - Fork 8
Configuration
Ramy Ben Aroya edited this page May 21, 2017
·
7 revisions
The configuration for this addon is passed via EmberApp
instantiation.
// Brocfile.js
var app = new EmberApp({
'ember-index': {
// ember-index options go here
}
});
The file name of the duplicated of 'dist/index`.
// Brocfile.js
var app = new EmberApp({
'ember-index': {
output: 'index.jsp'
}
});
This code will output 'dist/index.jsp'.
If falsy, no duplication will be made.
The file location of the duplicated of 'dist/index`.
// Brocfile.js
var app = new EmberApp({
'ember-index': {
output: 'index.jsp',
destDir: 'export'
}
});
This code will output 'dist/export/index.jsp'.
This object describes the dynamic content to inject. It can also be an array of these objects for multiple injection. The content object properties are:
-
key
(String) (mandatory for multiple injection only) -
file
(String) - File name which contains the content -
includeInOutput
(Boolean) - Should the content be included in the output file (e.g.dist/index.jsp
) -
includeInIndexHtml
- content be included indist/index.html