@@ -24,7 +24,7 @@ This project is a front-end web UI of Oxygen Toolbox and needs to be used with t
|
||||
# Requires
|
||||
|
||||
- Web Server (e.g. Nginx, Apache httpd)
|
||||
- [API of Oxygen Toolbox](https://github.com/FatttSnake/oxygen-api) (v1.0.0 and later versions)
|
||||
- [API of Oxygen Toolbox](https://github.com/FatttSnake/oxygen-api) (v1.0.0 or later versions)
|
||||
|
||||
# Related projects
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
# 环境要求
|
||||
|
||||
- Web 服务器(如 Nginx, Apache httpd)
|
||||
- [API of Oxygen Toolbox](https://github.com/FatttSnake/oxygen-api) (v1.0.0 及更高版本)
|
||||
- [API of Oxygen Toolbox](https://github.com/FatttSnake/oxygen-api) (v1.0.0 或更高版本)
|
||||
|
||||
# 关联项目
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"name": "oxygen-ui",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"description": "Oxygen Toolbox browser version",
|
||||
"author": {
|
||||
"name": "FatttSnake",
|
||||
|
||||
@@ -78,6 +78,7 @@
|
||||
.author {
|
||||
display: flex;
|
||||
margin-top: auto;
|
||||
padding-top: 8px;
|
||||
flex-direction: row;
|
||||
justify-content: end;
|
||||
padding-bottom: 10px;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
> .card-box, > div {
|
||||
width: 180px;
|
||||
height: 290px;
|
||||
min-height: 290px;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
@@ -102,7 +102,7 @@
|
||||
|
||||
> .card-box, > div {
|
||||
width: 180px;
|
||||
height: 290px;
|
||||
min-height: 290px;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
> div {
|
||||
width: 180px;
|
||||
height: 290px;
|
||||
min-height: 290px;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
|
||||
> div {
|
||||
width: 180px;
|
||||
height: 290px;
|
||||
min-height: 290px;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ class Compiler {
|
||||
|
||||
transform = async (code: string, loader: Loader) => {
|
||||
await this.waitInit()
|
||||
return esbuild.transform(code, { loader })
|
||||
return esbuild.transform(code, { loader, target: 'es2015' })
|
||||
}
|
||||
|
||||
compile = async (files: IFiles, importMap: IImportMap, entryPoint: string) => {
|
||||
@@ -66,6 +66,7 @@ class Compiler {
|
||||
bundle: true,
|
||||
entryPoints: [entryPoint],
|
||||
format: 'esm',
|
||||
target: 'es2015',
|
||||
metafile: true,
|
||||
write: false,
|
||||
plugins: [this.fileResolverPlugin(files, importMap)]
|
||||
|
||||
Reference in New Issue
Block a user