From 3a256178db7888b0347d1f3d2eb3523fb1300bfc Mon Sep 17 00:00:00 2001 From: Harel M Date: Mon, 25 Dec 2023 22:00:09 +0000 Subject: [PATCH] Fix build warnings --- .github/workflows/ci.yml | 9 +++++---- package.json | 1 + vite.config.ts | 3 +++ 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ba5a721..b5b591d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ on: jobs: build-docker: - name: build/docker + name: build docker runs-on: ubuntu-latest if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }} @@ -19,7 +19,7 @@ jobs: # build the editor build-node: - name: "build on (${{ matrix.os }})" + name: "build on ${{ matrix.os }}" runs-on: ${{ matrix.os }} if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }} @@ -45,7 +45,7 @@ jobs: build-artifacts: - name: "build artifacts on ubuntu-latest" + name: "build artifacts" runs-on: ubuntu-latest if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }} @@ -109,7 +109,8 @@ jobs: name: maputnik-windows path: ./src/github.com/maputnik/desktop/bin/windows/ - cypress-run: + e2e-tests: + name: "E2E tests using ${{ matrix.browser }}" strategy: fail-fast: false matrix: diff --git a/package.json b/package.json index 931f74ec..33f933ab 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "maputnik", "version": "2.0.0-pre.2", "description": "A MapLibre GL visual style editor", + "type": "module", "main": "''", "scripts": { "start": "vite", diff --git a/vite.config.ts b/vite.config.ts index e6d385fd..e1ca3e83 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -7,6 +7,9 @@ export default defineConfig({ server: { port: 8888, }, + build: { + sourcemap: true + }, plugins: [ replace({ preventAssignment: true,