forked from SpoonX/aurelia-autocomplete
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspoonx.js
62 lines (47 loc) · 1.35 KB
/
spoonx.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/************************************************/
/* spoonx-tools configuration */
/* @see https://github.com/SpoonX/spoonx-tools */
/************************************************/
var appRoot = 'src/';
module.exports = {
path : {
root: appRoot,
/* options and their defaults */
/* js files to ignore
*
* ignore: [],
*/
/* future use: use TypeScript or Babel for transpiling
*
* useTypeScriptForDTS: false,
*/
importsToAdd: [
"import {AutoCompleteCustomElement} from './component/autocomplete';"
],
// js to be transpiled, but not be concated
// (ValueConverters, CustomElements)
jsResources: [
appRoot + 'component/autocomplete.js'
],
/* other resources that need to get copied keeping their path
* resources: appRoot + '{** / *.css,** / *.html}',
*/
resources: appRoot + '{**/*.css,**/*.html}',
/* imports that are only used internally, eg 'extend'. no need to d.ts export them
*
* importsToIgnoreForDts: ['extend'],
*/
/* sort when concating
* sort: true,
*/
sort: true,
/* concat js files
* concat: true,
*/
concat: true,
/* options overwrites for karma. defaults are in ./node_modules/spoonx-tools/karma.conf.js
*
* karma: {browsers: ['Chrome']}
*/
}
};