From 0b39db6a2596c023b8e3121164e1a8f1328433a3 Mon Sep 17 00:00:00 2001 From: acalcutt Date: Mon, 1 May 2023 21:35:41 -0400 Subject: [PATCH] fix: validate workaround based on https://github.com/maplibre/maplibre-style-spec/blob/main/bin/gl-style-validate.ts --- src/serve_style.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/serve_style.js b/src/serve_style.js index 3620018..c4155c8 100644 --- a/src/serve_style.js +++ b/src/serve_style.js @@ -5,7 +5,7 @@ import fs from 'node:fs'; import clone from 'clone'; import express from 'express'; -import { validate } from '@maplibre/maplibre-gl-style-spec'; +import validate from '../node_modules/@maplibre/maplibre-gl-style-spec/src/validate_style'; import { getPublicUrl } from './utils.js';