forked from vdqbstp/playground-1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.demosrc.js
33 lines (32 loc) · 1.68 KB
/
.demosrc.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
const pkg = require("./package.json");
module.exports = {
output: {
dir: "dist", // 配置构建部署时输出的目录,默认dist目录
publicUrl: `/0.3/playground/` // 配置构建输出的资源根目录,默认是'/'
},
name: "Oasis Playground",
version: `v${pkg.version}`,
homePage: "https://oasis-engine.github.io",
boxTheme: "monokai", // 配置代码编辑器的主题
// 可选主题: active4d, allHallowsEve, amy, blackboard, brillianceBlack,
// brillianceDull, chromeDevtools, cloudsMidnight, clouds, cobalt,
// dawn, dreamweaver, eiffel, espressoLibre, github, idle, katzenmilch,
// kuroirTheme, lazy, magicwbAmiga, merbivoreSoft, merbivore, monokai,
// pastelsOnDark, slushAndPoppies, solarizedDark, solarizedLight,
// spacecadet, sunburst, textmateMacClassic, tomorrowNightBlue,
// tomorrowNightBright, tomorrowNightEighties, tomorrowNight, tomorrow,
// twilight, vibrantInk, zenburnesque, iplastic, idlefingers, krtheme,
// monoindustrial,
globalPackages: {
js: [
"https://cdn.jsdelivr.net/npm/dat.gui@0.7.7/build/dat.gui.min.js",
"https://gw.alipayobjects.com/os/lib/oasis-engine/0.3.0/dist/browser.min.js",
"https://gw.alipayobjects.com/os/lib/oasis-engine/controls/0.3.0/dist/browser.min.js",
"https://gw.alipayobjects.com/os/lib/oasis-engine/framebuffer-picker/0.3.0/dist/browser.min.js",
"https://gw.alipayobjects.com/os/lib/oasis-engine/engine-spine/0.1.3/dist/browser.js",
// "http://localhost:5000/packages/oasis-engine/dist/browser.min.js",
// "http://localhost:5000/packages/controls/dist/browser.min.js",
// "http://localhost:5000/packages/framebuffer-picker/dist/browser.min.js"
]
}
};