react-carousel-query
Version:
A infinite carousel component made with react that handles the pagination for you.
11 lines • 346 B
JavaScript
import { parse } from '@babel/parser';
export var babelParse = function babelParse(code) {
return parse(code, {
sourceType: 'module',
// FIXME: we should get this from the project config somehow?
plugins: ['jsx', 'typescript', ['decorators', {
decoratorsBeforeExport: true
}], 'classProperties'],
tokens: true
});
};