diff options
Diffstat (limited to 'platform')
-rw-r--r-- | platform/android/scripts/generate-style-code.js | 2 | ||||
-rw-r--r-- | platform/darwin/scripts/generate-style-code.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/android/scripts/generate-style-code.js b/platform/android/scripts/generate-style-code.js index b9e0d6dfd9..32458b1876 100644 --- a/platform/android/scripts/generate-style-code.js +++ b/platform/android/scripts/generate-style-code.js @@ -2,7 +2,7 @@ const fs = require('fs'); const ejs = require('ejs'); -const spec = require('../../../mapbox-gl-js/js/style-spec').latest; +const spec = require('../../../mapbox-gl-js/src/style-spec/reference/v8'); const _ = require('lodash'); require('../../../scripts/style-code'); diff --git a/platform/darwin/scripts/generate-style-code.js b/platform/darwin/scripts/generate-style-code.js index a305367afd..72aacbc742 100644 --- a/platform/darwin/scripts/generate-style-code.js +++ b/platform/darwin/scripts/generate-style-code.js @@ -11,7 +11,7 @@ const cocoaConventions = require('./style-spec-cocoa-conventions-v8.json'); const prefix = 'MGL'; const suffix = 'StyleLayer'; -let spec = _.merge(require('../../../mapbox-gl-js/js/style-spec').latest, require('./style-spec-overrides-v8.json')); +let spec = _.merge(require('../../../mapbox-gl-js/src/style-spec/reference/v8'), require('./style-spec-overrides-v8.json')); /// // Temporarily IGNORE layers that are in the spec yet still not supported in mbgl core |