From 8b1ce1defc580bae1617093d8dbdf33243a976bd Mon Sep 17 00:00:00 2001 From: Shoma Kokuryo Date: Sun, 3 Mar 2024 11:25:55 +0900 Subject: [PATCH] Use ESM build of vite (#90) * update actions * add type: module to package.json in root --- .github/workflows/on-pull-request.yml | 4 ++-- package.json | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/on-pull-request.yml b/.github/workflows/on-pull-request.yml index 17b1f642..42603549 100644 --- a/.github/workflows/on-pull-request.yml +++ b/.github/workflows/on-pull-request.yml @@ -16,9 +16,9 @@ jobs: # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: "npm" diff --git a/package.json b/package.json index ad70b754..fc9ffb9f 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "./packages/unified-latex-to-*", "./packages/*" ], + "type": "module", "scripts": { "docs": "typedoc", "build": "npm run build -ws",