File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ import metadata from './metadata/index.mjs';
1515import oramaDb from './orama-db/index.mjs' ;
1616
1717export const publicGenerators = {
18- metadata : metadata ,
1918 'json-simple' : jsonSimple ,
2019 'legacy-html' : legacyHtml ,
2120 'legacy-html-all' : legacyHtmlAll ,
@@ -29,9 +28,14 @@ export const publicGenerators = {
2928 'jsx-ast' : jsxAst ,
3029} ;
3130
31+ // These are a bit special: we don't want them to run unless needed,
32+ // and we also don't want them publicly accessible via the CLI.
33+ const internalGenerators = {
34+ metadata,
35+ 'ast-js' : astJs ,
36+ } ;
37+
3238export const allGenerators = {
3339 ...publicGenerators ,
34- // This one is a little special since we don't want it to run unless we need
35- // it and we also don't want it to be publicly accessible through the CLI.
36- 'ast-js' : astJs ,
40+ ...internalGenerators ,
3741} ;
You can’t perform that action at this time.
0 commit comments