More build config
This commit is contained in:
6
js/tower.js
Normal file
6
js/tower.js
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
import { TowerMap } from 'tower_map.js';
|
||||||
|
export function main() {
|
||||||
|
const map = new TowerMap();
|
||||||
|
}
|
||||||
|
;
|
||||||
|
//# sourceMappingURL=tower.js.map
|
||||||
1
js/tower.js.map
Normal file
1
js/tower.js.map
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"tower.js","sourceRoot":"","sources":["../src/tower.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,MAAM,UAAU,IAAI;IAClB,MAAM,GAAG,GAAG,IAAI,QAAQ,EAAE,CAAC;AAC7B,CAAC;AAAA,CAAC"}
|
||||||
3
js/tower_map.js
Normal file
3
js/tower_map.js
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
export class TowerMap {
|
||||||
|
}
|
||||||
|
//# sourceMappingURL=tower_map.js.map
|
||||||
1
js/tower_map.js.map
Normal file
1
js/tower_map.js.map
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"tower_map.js","sourceRoot":"","sources":["../src/tower_map.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,QAAQ;CACpB"}
|
||||||
2
src/.gitignore
vendored
2
src/.gitignore
vendored
@@ -1,2 +0,0 @@
|
|||||||
*.js
|
|
||||||
*.js.map
|
|
||||||
10
tower.html
Normal file
10
tower.html
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<title>Tower</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<script src="js/tower.js"></script>
|
||||||
|
</body>
|
||||||
@@ -3,10 +3,11 @@
|
|||||||
"target": "ES2020",
|
"target": "ES2020",
|
||||||
"module": "ES2020",
|
"module": "ES2020",
|
||||||
"noImplicitAny": true,
|
"noImplicitAny": true,
|
||||||
"sourceMap": true
|
"sourceMap": true,
|
||||||
|
"outDir": "js"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"tower.ts",
|
"src/tower.ts",
|
||||||
"tower_map.ts"
|
"src/tower_map.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user