-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.browser.yml
More file actions
97 lines (94 loc) · 2.46 KB
/
package.browser.yml
File metadata and controls
97 lines (94 loc) · 2.46 KB
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
apps:
autoreload:
file: src/autoreload/ModuleReload.ts
outputMain: lib/plugin.reload.js
package:
moduleWrapperCustomPath: "./src/autoreload/wrapper.js"
converter:
file: projects/converter/src/Converter.ts
outputMain: lib/converter-js.js
package:
moduleWrapperCustomPath: "./src/umd-wrapper.js"
settings:
atma-io-middleware-condcomments:
defines:
BROWSER: false
NODE: true
browser-default:
outputMain: lib/mask.js
package:
moduleWrapperCustomPath: "./src/umd-wrapper.js"
settings:
atma-io-middleware-condcomments:
defines:
BROWSER: true
NODE: false
atma-loader-ts:
typescript: "#import ./tsconfig.json"
atma-io-middleware-uglify:
uglify: "#import ./.uglify.yml"
copyFiles:
#ref-mask-node/lib/mask.bootstrap.js: lib/mask.bootstrap.js
#ref-mask-node/lib/mask.node.js: lib/mask.node.js
#src/parser/html/html_entities.js: lib/html_entities.js
common:
file: src/mask.ts
package:
module: import
moduleWrapper: custom
import:
removeUnusedExports: true
lazy:
"/custom/*":
- modules/exports
- expression/src/exports
"/expression/*":
- project/observer
"/builder/*":
- "/feature/"
"/renderer/*":
- compo/exports
"/mask-compo/*":
- util/reporters
- parser/exports
- builder/exports
- expression/src/exports
- renderer/exports
- parser/exports
- "/feature/"
"CompoStatics\b":
- Component
"/expression/*":
- mask-compo
dynamicDependencies:
- "^vm$"
- "^fs$"
- "^module$"
- "^path$"
extensions:
io:
type: js
defaultExtensions:
js: ts
middlewares:
js:
- atma-io-middleware-condcomments:read
- atma-io-middleware-importer:read
- atma-io-middleware-uglify:write
ts:
- atma-io-middleware-condcomments:read
- atma-io-middleware-importer:read
- atma-loader-ts:read
settings:
atma-loader-ts:
typescript: "#import ./tsconfig.json"
options:
include:
routes:
"@core": src/{0}
"@utils": ref-utils/src/{0}
"@mask-j": projects/mask-j/src/jmask/{0}
"@compo": projects/mask-compo/src/{0}
"@binding": projects/mask-binding/src/{0}
"@project": projects/{0}
"@mask-node": projects/mask-node/src/{0}