Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Also exclude sdk-support; find better name
  • Loading branch information
ahocevar committed Apr 11, 2022
commit 8657b84c33cf69b20d7deb9bb32fbd75a77fb246
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