Skip to content

Commit

Permalink
Also exclude sdk-support; find better name
Browse files Browse the repository at this point in the history
  • Loading branch information
ahocevar committed Apr 11, 2022
1 parent e3afc15 commit f49aa9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/style-spec/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const esm = 'esm' in process.env;
import {fileURLToPath} from 'url';
const __dirname = fileURLToPath(new URL('.', import.meta.url));

const reviver = (key, value) => ['doc', 'example'].includes(key) ? undefined : value;
const reviver = (key, value) => ['doc', 'example', 'sdk-support'].includes(key) ? undefined : value;

const config = [{
input: `${__dirname}/style-spec.js`,
Expand Down
4 changes: 2 additions & 2 deletions src/style-spec/style-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export type StylePropertySpecification = {
};

import v8 from './reference/v8.json';
import latest, {min as latestWithoutDocsAndExamples} from './reference/latest.js';
import latest, {min as specMin} from './reference/latest.js';
import format from './format.js';
import migrate from './migrate.js';
import composite from './composite.js';
Expand Down Expand Up @@ -109,7 +109,7 @@ const visit = {eachSource, eachLayer, eachProperty};
export {
v8,
latest,
latestWithoutDocsAndExamples,
specMin,
format,
migrate,
composite,
Expand Down

0 comments on commit f49aa9f

Please sign in to comment.