Skip to content

Commit

Permalink
Merge pull request #2 from webxdc/adb/support-old-browsers
Browse files Browse the repository at this point in the history
add support for old browsers (android 5 and iOS 11)
  • Loading branch information
adbenitez authored Sep 7, 2023
2 parents f517984 + f268fbe commit 4b12a99
Show file tree
Hide file tree
Showing 7 changed files with 1,540 additions and 27 deletions.
2 changes: 2 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ChromeAndroid >=37
iOS >=11
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version: 16.x
cache: pnpm
- run: npm install -g pnpm
- run: pnpm i
- run: pnpm format:check
- run: pnpm test
11 changes: 1 addition & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Install pnpm
uses: pnpm/action-setup@v2

- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: pnpm

- run: npm install -g pnpm
- run: pnpm i
- run: pnpm format:check
- run: pnpm test
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ A minimalist Vite project template for WebXDC development.

- 📦 Automatically minify, build and release your `.xdc` file

- 🦕 Automatically support legacy/old browsers

## Usage

### Installing Dependencies
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"private": true,
"packageManager": "[email protected]",
"scripts": {
"build": "vite build",
"dev-mini": "vite --port 3000",
"dev": "concurrently \"pnpm dev-mini\" \"webxdc-dev run http://localhost:3000\"",
"dev": "concurrently \"npm run dev-mini\" \"webxdc-dev run http://localhost:3000\"",
"format": "prettier --write .",
"format:check": "prettier --check .",
"test": "vitest"
},
"devDependencies": {
"@vitejs/plugin-legacy": "^4.0.2",
"concurrently": "^8.1.0",
"eruda": "^3.0.0",
"jsdom": "^22.1.0",
Expand Down
Loading

0 comments on commit 4b12a99

Please sign in to comment.