config.json 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551
  1. {
  2. "build": {
  3. "outputDirectory": "../../dist/preview release",
  4. "tempDirectory": "../../.temp/",
  5. "playgroundDirectory": "../../Playground/",
  6. "intellisenseFile": "babylon.d.txt",
  7. "intellisenseSources": [
  8. "../../dist/preview release/babylon.d.ts",
  9. "../../dist/preview release/gui/babylon.gui.d.ts",
  10. "../../dist/preview release/loaders/babylonjs.loaders.d.ts",
  11. "../../dist/preview release/serializers/babylonjs.serializers.d.ts",
  12. "../../dist/preview release/glTF2Interface/babylon.glTF2Interface.d.ts",
  13. "../../dist/preview release/materialsLibrary/babylonjs.materials.d.ts",
  14. "../../dist/preview release/postProcessesLibrary/babylonjs.postProcess.d.ts",
  15. "../../dist/preview release/proceduralTexturesLibrary/babylonjs.proceduralTextures.d.ts"
  16. ],
  17. "typedocJSON": "../../.temp/babylon.typedoc.json",
  18. "typedocValidationBaseline": "../../dist/preview release/typedocValidationBaseline.json",
  19. "dependencies": [
  20. {
  21. "name": "CANNON",
  22. "module": "cannon",
  23. "optional": true
  24. },
  25. {
  26. "name": "OIMO",
  27. "module": "oimo",
  28. "optional": true
  29. },
  30. {
  31. "name": "earcut",
  32. "module": "earcut",
  33. "optional": true
  34. }
  35. ]
  36. },
  37. "modules": [
  38. "core",
  39. "materialsLibrary",
  40. "postProcessesLibrary",
  41. "proceduralTexturesLibrary",
  42. "loaders",
  43. "serializers",
  44. "gui",
  45. "inspector"
  46. ],
  47. "viewerModules": [
  48. "viewer",
  49. "viewer-assets"
  50. ],
  51. "core": {
  52. "isCore": true,
  53. "libraries": [
  54. {
  55. "output": "babylon.js",
  56. "maxOutput": "babylon.max.js",
  57. "entry": "./Legacy/legacy.ts"
  58. }
  59. ],
  60. "build": {
  61. "webpack": "../../../src/webpack.config.js",
  62. "srcDirectory": "../../src/",
  63. "distOutputDirectory": "/",
  64. "processDeclaration": {
  65. "filename": "babylon.module.d.ts",
  66. "packageName": "babylonjs",
  67. "moduleName": "BABYLON",
  68. "moduleSpecifics": [
  69. {
  70. "path": "babylonjs/Debug",
  71. "namespace": "BABYLON.Debug"
  72. }
  73. ],
  74. "doNotAppendNamespace": true,
  75. "prependToNamespaceText": "declare module 'babylonjs' { export = BABYLON; }"
  76. }
  77. }
  78. },
  79. "materialsLibrary": {
  80. "libraries": [
  81. {
  82. "output": "babylonjs.materials.min.js",
  83. "entry": "./legacy/legacy.ts"
  84. },
  85. {
  86. "output": "babylon.cellMaterial.min.js",
  87. "entry": "./legacy/legacy-cell.ts",
  88. "preventLoadLibrary": true
  89. },
  90. {
  91. "output": "babylon.customMaterial.min.js",
  92. "entry": "./legacy/legacy-custom.ts",
  93. "preventLoadLibrary": true
  94. },
  95. {
  96. "output": "babylon.fireMaterial.min.js",
  97. "entry": "./legacy/legacy-fire.ts",
  98. "preventLoadLibrary": true
  99. },
  100. {
  101. "output": "babylon.furMaterial.min.js",
  102. "entry": "./legacy/legacy-fur.ts",
  103. "preventLoadLibrary": true
  104. },
  105. {
  106. "output": "babylon.gradientMaterial.min.js",
  107. "entry": "./legacy/legacy-gradient.ts",
  108. "preventLoadLibrary": true
  109. },
  110. {
  111. "output": "babylon.gridMaterial.min.js",
  112. "entry": "./legacy/legacy-grid.ts",
  113. "preventLoadLibrary": true
  114. },
  115. {
  116. "output": "babylon.lavaMaterial.min.js",
  117. "entry": "./legacy/legacy-lava.ts",
  118. "preventLoadLibrary": true
  119. },
  120. {
  121. "output": "babylon.mixMaterial.min.js",
  122. "entry": "./legacy/legacy-mix.ts",
  123. "preventLoadLibrary": true
  124. },
  125. {
  126. "output": "babylon.normalMaterial.min.js",
  127. "entry": "./legacy/legacy-normal.ts",
  128. "preventLoadLibrary": true
  129. },
  130. {
  131. "output": "babylon.shadowOnlyMaterial.min.js",
  132. "entry": "./legacy/legacy-shadowOnly.ts",
  133. "preventLoadLibrary": true
  134. },
  135. {
  136. "output": "babylon.simpleMaterial.min.js",
  137. "entry": "./legacy/legacy-simple.ts",
  138. "preventLoadLibrary": true
  139. },
  140. {
  141. "output": "babylon.skyMaterial.min.js",
  142. "entry": "./legacy/legacy-sky.ts",
  143. "preventLoadLibrary": true
  144. },
  145. {
  146. "output": "babylon.terrainMaterial.min.js",
  147. "entry": "./legacy/legacy-terrain.ts",
  148. "preventLoadLibrary": true
  149. },
  150. {
  151. "output": "babylon.triPlanarMaterial.min.js",
  152. "entry": "./legacy/legacy-triPlanar.ts",
  153. "preventLoadLibrary": true
  154. },
  155. {
  156. "output": "babylon.waterMaterial.min.js",
  157. "entry": "./legacy/legacy-water.ts",
  158. "preventLoadLibrary": true
  159. }
  160. ],
  161. "build": {
  162. "webpack": "../../../materialsLibrary/webpack.config.js",
  163. "srcDirectory": "../../materialsLibrary/src/",
  164. "distOutputDirectory": "/materialsLibrary/",
  165. "processDeclaration": {
  166. "filename": "babylonjs.materials.module.d.ts",
  167. "packageName": "babylonjs-materials",
  168. "moduleName": "BABYLON",
  169. "importsToRemove": [],
  170. "classMap": {
  171. "babylonjs": "BABYLON"
  172. }
  173. }
  174. }
  175. },
  176. "postProcessesLibrary": {
  177. "libraries": [
  178. {
  179. "output": "babylonjs.postProcess.min.js",
  180. "entry": "./legacy/legacy.ts"
  181. },
  182. {
  183. "output": "babylon.asciiArtPostProcess.min.js",
  184. "entry": "./legacy/legacy-asciiArt.ts",
  185. "preventLoadLibrary": true
  186. },
  187. {
  188. "output": "babylon.digitalRainPostProcess.min.js",
  189. "entry": "./legacy/legacy-digitalRain.ts",
  190. "preventLoadLibrary": true
  191. }
  192. ],
  193. "build": {
  194. "webpack": "../../../postProcessLibrary/webpack.config.js",
  195. "srcDirectory": "../../postProcessLibrary/src/",
  196. "distOutputDirectory": "/postProcessesLibrary/",
  197. "processDeclaration": {
  198. "filename": "babylonjs.postProcess.module.d.ts",
  199. "packageName": "babylonjs-postProcessLibrary",
  200. "moduleName": "BABYLON",
  201. "importsToRemove": [],
  202. "classMap": {
  203. "babylonjs": "BABYLON"
  204. }
  205. }
  206. }
  207. },
  208. "proceduralTexturesLibrary": {
  209. "libraries": [
  210. {
  211. "output": "babylonjs.proceduralTextures.min.js",
  212. "entry": "./legacy/legacy.ts"
  213. },
  214. {
  215. "output": "babylon.brickProceduralTexture.min.js",
  216. "entry": "./legacy/legacy-brick.ts",
  217. "preventLoadLibrary": true
  218. },
  219. {
  220. "output": "babylon.cloudProceduralTexture.min.js",
  221. "entry": "./legacy/legacy-cloud.ts",
  222. "preventLoadLibrary": true
  223. },
  224. {
  225. "output": "babylon.fireProceduralTexture.min.js",
  226. "entry": "./legacy/legacy-fire.ts",
  227. "preventLoadLibrary": true
  228. },
  229. {
  230. "output": "babylon.grassProceduralTexture.min.js",
  231. "entry": "./legacy/legacy-grass.ts",
  232. "preventLoadLibrary": true
  233. },
  234. {
  235. "output": "babylon.marbleProceduralTexture.min.js",
  236. "entry": "./legacy/legacy-marble.ts",
  237. "preventLoadLibrary": true
  238. },
  239. {
  240. "output": "babylon.normalMapProceduralTexture.min.js",
  241. "entry": "./legacy/legacy-normalMap.ts",
  242. "preventLoadLibrary": true
  243. },
  244. {
  245. "output": "babylon.perlinNoiseProceduralTexture.min.js",
  246. "entry": "./legacy/legacy-perlinNoise.ts",
  247. "preventLoadLibrary": true
  248. },
  249. {
  250. "output": "babylon.roadProceduralTexture.min.js",
  251. "entry": "./legacy/legacy-road.ts",
  252. "preventLoadLibrary": true
  253. },
  254. {
  255. "output": "babylon.starfieldProceduralTexture.min.js",
  256. "entry": "./legacy/legacy-starfield.ts",
  257. "preventLoadLibrary": true
  258. },
  259. {
  260. "output": "babylon.woodProceduralTexture.min.js",
  261. "entry": "./legacy/legacy-wood.ts",
  262. "preventLoadLibrary": true
  263. }
  264. ],
  265. "build": {
  266. "webpack": "../../../proceduralTexturesLibrary/webpack.config.js",
  267. "srcDirectory": "../../proceduralTexturesLibrary/src/",
  268. "distOutputDirectory": "/proceduralTexturesLibrary/",
  269. "processDeclaration": {
  270. "filename": "babylonjs.proceduralTextures.module.d.ts",
  271. "packageName": "babylonjs-procedural-textures",
  272. "moduleName": "BABYLON",
  273. "importsToRemove": [],
  274. "classMap": {
  275. "babylonjs": "BABYLON"
  276. }
  277. }
  278. }
  279. },
  280. "loaders": {
  281. "libraries": [
  282. {
  283. "output": "babylonjs.loaders.min.js",
  284. "entry": "./legacy/legacy.ts"
  285. },
  286. {
  287. "output": "babylon.objFileLoader.min.js",
  288. "entry": "./legacy/legacy-objFileLoader.ts",
  289. "preventLoadLibrary": true
  290. },
  291. {
  292. "output": "babylon.stlFileLoader.min.js",
  293. "entry": "./legacy/legacy-stlFileLoader.ts",
  294. "preventLoadLibrary": true
  295. },
  296. {
  297. "output": "babylon.glTF1FileLoader.min.js",
  298. "entry": "./legacy/legacy-glTF1FileLoader.ts",
  299. "preventLoadLibrary": true
  300. },
  301. {
  302. "output": "babylon.glTF2FileLoader.min.js",
  303. "entry": "./legacy/legacy-glTF2FileLoader.ts",
  304. "preventLoadLibrary": true
  305. },
  306. {
  307. "output": "babylon.glTFFileLoader.min.js",
  308. "entry": "./legacy/legacy-glTFFileLoader.ts",
  309. "preventLoadLibrary": true
  310. }
  311. ],
  312. "build": {
  313. "webpack": "../../../loaders/webpack.config.js",
  314. "srcDirectory": "../../loaders/src/",
  315. "distOutputDirectory": "/loaders/",
  316. "processDeclaration": {
  317. "filename": "babylonjs.loaders.module.d.ts",
  318. "packageName": "babylonjs-loaders",
  319. "moduleName": "BABYLON",
  320. "moduleSpecifics": [
  321. {
  322. "path": "babylonjs-loaders/src/glTF/1.0",
  323. "namespace": "BABYLON.GLTF1"
  324. },
  325. {
  326. "path": "babylonjs-loaders/src/glTF/2.0",
  327. "namespace": "BABYLON.GLTF2"
  328. },
  329. {
  330. "path": "babylonjs-loaders/src/glTF/2.0/glTFLoaderInterfaces",
  331. "namespace": "BABYLON.GLTF2.Loader"
  332. },
  333. {
  334. "path": "babylonjs-loaders/src/glTF/2.0/Extensions",
  335. "namespace": "BABYLON.GLTF2.Loader.Extensions"
  336. }
  337. ],
  338. "importsToRemove": [],
  339. "classMap": {
  340. "babylonjs": "BABYLON",
  341. "babylonjs-gltf2interface": "BABYLON.GLTF2"
  342. }
  343. }
  344. }
  345. },
  346. "serializers": {
  347. "libraries": [
  348. {
  349. "output": "babylonjs.serializers.min.js",
  350. "entry": "./legacy/legacy.ts"
  351. },
  352. {
  353. "output": "babylon.objSerializer.min.js",
  354. "entry": "./legacy/legacy-objSerializer.ts",
  355. "preventLoadLibrary": true
  356. },
  357. {
  358. "output": "babylon.glTF2Serializer.min.js",
  359. "entry": "./legacy/legacy-glTF2Serializer.ts",
  360. "preventLoadLibrary": true
  361. }
  362. ],
  363. "build": {
  364. "webpack": "../../../serializers/webpack.config.js",
  365. "srcDirectory": "../../serializers/src/",
  366. "distOutputDirectory": "/serializers/",
  367. "processDeclaration": {
  368. "filename": "babylonjs.serializers.module.d.ts",
  369. "packageName": "babylonjs-serializers",
  370. "moduleName": "BABYLON",
  371. "importsToRemove": [],
  372. "classMap": {
  373. "babylonjs": "BABYLON",
  374. "babylonjs-loaders": "BABYLON",
  375. "babylonjs-serializers": "BABYLON",
  376. "babylonjs-gltf2interface": "BABYLON.GLTF2"
  377. },
  378. "moduleSpecifics": [
  379. {
  380. "path": "babylonjs-serializers/src/glTF/2.0",
  381. "namespace": "BABYLON.GLTF2.Exporter"
  382. },
  383. {
  384. "path": "babylonjs-serializers/src/glTF/2.0/Extensions",
  385. "namespace": "BABYLON.GLTF2.Exporter.Extensions"
  386. },
  387. {
  388. "path": "babylonjs-serializers/src/glTF/2.0/glTFData",
  389. "namespace": "BABYLON"
  390. },
  391. {
  392. "path": "babylonjs-serializers/src/glTF/2.0/glTFSerializer",
  393. "namespace": "BABYLON"
  394. }
  395. ]
  396. }
  397. }
  398. },
  399. "gui": {
  400. "libraries": [
  401. {
  402. "output": "babylon.gui.min.js",
  403. "entry": "././legacy/legacy.ts"
  404. }
  405. ],
  406. "build": {
  407. "webpack": "../../../gui/webpack.config.js",
  408. "srcDirectory": "../../gui/src/",
  409. "distOutputDirectory": "/gui/",
  410. "processDeclaration": {
  411. "filename": "babylon.gui.module.d.ts",
  412. "packageName": "babylonjs-gui",
  413. "moduleName": "BABYLON.GUI",
  414. "importsToRemove": [],
  415. "classMap": {
  416. "babylonjs": "BABYLON",
  417. "babylonjs-loaders": "BABYLON",
  418. "babylonjs-serializers": "BABYLON"
  419. }
  420. }
  421. }
  422. },
  423. "inspector": {
  424. "libraries": [
  425. {
  426. "output": "babylon.inspector.bundle.js",
  427. "maxOutput": "babylon.inspector.bundle.max.js",
  428. "entry": "./legacy/legacy.ts",
  429. "extendsRoot": true
  430. }
  431. ],
  432. "build": {
  433. "webpack": "../../../inspector/webpack.config.js",
  434. "srcDirectory": "../../inspector/src/",
  435. "distOutputDirectory": "/inspector/",
  436. "processDeclaration": {
  437. "filename": "babylon.inspector.module.d.ts",
  438. "packageName": "babylonjs-inspector",
  439. "moduleName": "INSPECTOR",
  440. "importsToRemove": [],
  441. "classMap": {
  442. "babylonjs": "BABYLON",
  443. "babylonjs-loaders": "BABYLON",
  444. "babylonjs-serializers": "BABYLON",
  445. "babylonjs-gui": "BABYLON.GUI"
  446. }
  447. }
  448. }
  449. },
  450. "viewer": {
  451. "libraries": [
  452. {
  453. "output": "babylon.viewer.js",
  454. "moduleDeclaration": {
  455. "name": "BabylonViewer",
  456. "module": "babylonjs-viewer"
  457. },
  458. "preventLoadLibrary": true
  459. }
  460. ],
  461. "build": {
  462. "webpack": "../../../Viewer/webpack.gulp.config.js",
  463. "srcDirectory": "../../Viewer/src/",
  464. "distOutputDirectory": "/viewer/",
  465. "dtsBundle": {
  466. "name": "babylonjs-viewer",
  467. "main": "../../dist/preview release/viewer/build/src/index.d.ts",
  468. "out": "../../babylon.viewer.module.d.ts"
  469. },
  470. "processDeclaration": {
  471. "packageName": "babylonjs-viewer",
  472. "moduleName": "BabylonViewer",
  473. "doNotAppendNamespace": true,
  474. "prependText": "/// <reference path=\"./babylon.d.ts\"/>\n/// <reference path=\"./babylon.glTF2Interface.d.ts\"/>\n/// <reference path=\"./babylonjs.loaders.d.ts\"/>\ndeclare module \"babylonjs-loaders\"{ export=BABYLON;}\n",
  475. "importsToRemove": [
  476. "pep",
  477. "babylonjs-loaders"
  478. ],
  479. "classMap": {
  480. "babylonjs": "BABYLON",
  481. "babylonjs-loaders": "BABYLON"
  482. }
  483. },
  484. "outputs": [
  485. {
  486. "destinations": [
  487. {
  488. "filename": "viewer.js",
  489. "outputDirectory": "/../../Viewer/dist/"
  490. },
  491. {
  492. "filename": "babylon.viewer.js",
  493. "outputDirectory": "/viewer/",
  494. "addBabylonDeclaration": [
  495. "babylon.d.ts",
  496. "loaders/babylonjs.loaders.d.ts",
  497. "glTF2Interface/babylon.glTF2Interface.d.ts"
  498. ]
  499. }
  500. ],
  501. "minified": true
  502. },
  503. {
  504. "destinations": [
  505. {
  506. "filename": "viewer.max.js",
  507. "outputDirectory": "/../../Viewer/dist/"
  508. },
  509. {
  510. "filename": "babylon.viewer.max.js",
  511. "outputDirectory": "/viewer/"
  512. }
  513. ]
  514. }
  515. ]
  516. }
  517. },
  518. "viewer-assets": {
  519. "libraries": [
  520. {
  521. "output": "babylon.viewer.assets.js",
  522. "moduleDeclaration": {
  523. "name": "BabylonViewerAssets",
  524. "module": "babylonjs-viewer-assets"
  525. },
  526. "preventLoadLibrary": true
  527. }
  528. ],
  529. "build": {
  530. "webpack": "../../../Viewer/webpack.assets.config.js",
  531. "srcDirectory": "../../Viewer/src/",
  532. "distOutputDirectory": "/viewer/",
  533. "dtsBundle": {
  534. "name": "babylonjs-viewer-assets",
  535. "main": "../../dist/preview release/viewer/build/src/assets/index.d.ts",
  536. "out": "../../../../../../Viewer/build/assets/babylon.viewer.assets.module.d.ts"
  537. },
  538. "outputs": [
  539. {
  540. "destinations": [
  541. {
  542. "filename": "babylon.viewer.assets.js",
  543. "outputDirectory": "/../../Viewer/build/assets/"
  544. }
  545. ],
  546. "minified": true
  547. }
  548. ]
  549. }
  550. }
  551. }