4 Commits

8 changed files with 8 additions and 10 deletions

View File

@@ -24,7 +24,7 @@ This project is a front-end web UI of Oxygen Toolbox and needs to be used with t
# Requires # Requires
- Web Server (e.g. Nginx, Apache httpd) - Web Server (e.g. Nginx, Apache httpd)
- [API of Oxygen Toolbox](https://github.com/FatttSnake/oxygen-api) (v1.0.0 or later versions) - [API of Oxygen Toolbox](https://github.com/FatttSnake/oxygen-api) (v1.0.0 and later versions)
# Related projects # Related projects

View File

@@ -24,7 +24,7 @@
# 环境要求 # 环境要求
- Web 服务器(如 Nginx, Apache httpd - 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 更高版本)
# 关联项目 # 关联项目

View File

@@ -2,7 +2,7 @@
"name": "oxygen-ui", "name": "oxygen-ui",
"private": true, "private": true,
"type": "module", "type": "module",
"version": "1.0.2", "version": "1.0.1",
"description": "Oxygen Toolbox browser version", "description": "Oxygen Toolbox browser version",
"author": { "author": {
"name": "FatttSnake", "name": "FatttSnake",

View File

@@ -78,7 +78,6 @@
.author { .author {
display: flex; display: flex;
margin-top: auto; margin-top: auto;
padding-top: 8px;
flex-direction: row; flex-direction: row;
justify-content: end; justify-content: end;
padding-bottom: 10px; padding-bottom: 10px;

View File

@@ -13,7 +13,7 @@
> .card-box, > div { > .card-box, > div {
width: 180px; width: 180px;
min-height: 290px; height: 290px;
flex: 0 0 auto; flex: 0 0 auto;
} }
@@ -102,7 +102,7 @@
> .card-box, > div { > .card-box, > div {
width: 180px; width: 180px;
min-height: 290px; height: 290px;
flex: 0 0 auto; flex: 0 0 auto;
} }
} }

View File

@@ -28,7 +28,7 @@
> div { > div {
width: 180px; width: 180px;
min-height: 290px; height: 290px;
flex: 0 0 auto; flex: 0 0 auto;
} }

View File

@@ -70,7 +70,7 @@
> div { > div {
width: 180px; width: 180px;
min-height: 290px; height: 290px;
flex: 0 0 auto; flex: 0 0 auto;
} }

View File

@@ -57,7 +57,7 @@ class Compiler {
transform = async (code: string, loader: Loader) => { transform = async (code: string, loader: Loader) => {
await this.waitInit() await this.waitInit()
return esbuild.transform(code, { loader, target: 'es2015' }) return esbuild.transform(code, { loader })
} }
compile = async (files: IFiles, importMap: IImportMap, entryPoint: string) => { compile = async (files: IFiles, importMap: IImportMap, entryPoint: string) => {
@@ -66,7 +66,6 @@ class Compiler {
bundle: true, bundle: true,
entryPoints: [entryPoint], entryPoints: [entryPoint],
format: 'esm', format: 'esm',
target: 'es2015',
metafile: true, metafile: true,
write: false, write: false,
plugins: [this.fileResolverPlugin(files, importMap)] plugins: [this.fileResolverPlugin(files, importMap)]