-
Notifications
You must be signed in to change notification settings - Fork 1
/
gulpfile-config.json
executable file
·138 lines (138 loc) · 3.46 KB
/
gulpfile-config.json
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"targets": {
"browser": {
"compile": [
{
"input": "src/*.html",
"output": "docs/",
"minify": true
},
{
"input": "src/templates/emails/*.mjml",
"output": "docs/templates/emails/",
"minify": false
},
{
"input": "src/css/main.scss",
"output": "docs/css/main.css",
"minify": true
},
{
"input": "src/css/main-cssvars.scss",
"output": "docs/css/main-cssvars.css",
"minify": true
},
{
"input": "src/js/rxcomp/main.js",
"output": "docs/js/rxcomp/main_es5_iife.js",
"globals": {
"gsap": "gsap",
"rxjs": "rxjs",
"rxjs/operators": "rxjs.operators",
"rxcomp": "rxcomp",
"rxcomp-form": "rxcomp.form",
"rxcomp-store": "rxcomp.store"
},
"minify": true
},
{
"input": "src/js/typescript/main.ts",
"output": "docs/js/typescript/main_es5_iife.js",
"globals": {
"gsap": "gsap",
"rxjs": "rxjs",
"rxjs/operators": "rxjs.operators"
},
"minify": true
},
{
"input": "src/js/vanilla/main.js",
"output": "docs/js/vanilla/main_es5_iife.js",
"globals": {
"gsap": "gsap",
"rxjs": "rxjs",
"rxjs/operators": "rxjs.operators"
},
"minify": true
}
],
"bundle": [
{
"input": [
"node_modules/swiper/css/swiper.css",
"node_modules/rxcomp/dist/rxcomp-dark.css"
],
"output": "docs/css/vendors.css",
"minify": true
},
{
"input": [
"node_modules/gsap/dist/EasePack.js",
"node_modules/gsap/dist/gsap.js",
"node_modules/rxjs/bundles/rxjs.umd.js",
"node_modules/rxcomp/dist/umd/rxcomp.js",
"node_modules/rxcomp-form/dist/umd/rxcomp-form.js",
"node_modules/swiper/js/swiper.js"
],
"output": "docs/js/vendors.js",
"minify": true
}
],
"copy": [
{
"input": "node_modules/@fortawesome/fontawesome-free/**/*.*",
"output": "docs/fonts/fontawesome/"
}
]
},
"dist": {
"compile": [
{
"input": "src/js/typescript/main.ts",
"output": [
{
"file": "dist/amd/main.js",
"format": "amd"
},
{
"file": "dist/cjs/",
"format": "cjs"
},
{
"file": "dist/esm/",
"format": "esm"
},
{
"file": "dist/system/main.js",
"format": "system"
},
{
"file": "dist/iife/main.js",
"format": "iife",
"minify": true
},
{
"file": "dist/umd/main.js",
"format": "umd",
"minify": true
}
],
"globals": {
"rxjs": "rxjs",
"rxjs/operators": "rxjs.operators"
},
"name": "main"
}
],
"bundle": []
}
},
"server": {
"root": "./docs",
"path": "/gulp-4-bundler/",
"host": "localhost",
"port": 9999,
"log": false
},
"tfs": false
}