feat: parcel

This commit is contained in:
NICE CODE BY DEV 2025-01-12 09:17:57 +08:00
parent 5be7cd0e73
commit af124f6ce9
6 changed files with 2455 additions and 1 deletions

3
.babelrc Normal file
View File

@ -0,0 +1,3 @@
{
"plugins": ["transform-remove-console"]
}

1
.env Normal file
View File

@ -0,0 +1 @@
BASE_URL=

1
.env.development Normal file
View File

@ -0,0 +1 @@
BASE_URL=http://192.168.31.209

3
.gitignore vendored
View File

@ -2,4 +2,5 @@
/.next
src/.umi
out
.webpack
.webpack
/temp

View File

@ -1,6 +1,18 @@
{
"name": "web-src",
"version": "1.0.0",
"targets": {
"data": {
"engines": {
"browsers": "Chrome 80"
}
},
"data_legacy": {
"engines": {
"browsers": "> 0.5%, last 2 versions, not dead"
}
}
},
"scripts": {
"dev": "parcel src/index.html",
"watch": "parcel watch",
@ -15,6 +27,7 @@
"@parcel/packager-ts": "2.12.0",
"@parcel/transformer-typescript-tsc": "^2.12.0",
"@parcel/transformer-typescript-types": "2.12.0",
"babel-plugin-transform-remove-console": "^6.9.4",
"daisyui": "^4.12.14",
"parcel": "^2.12.0",
"postcss": "^8.4.47",

2435
yarn.lock Normal file

File diff suppressed because it is too large Load Diff