mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
* [@kbn/interpreter] improve build/packaging (#26096) Summary of changes: - move all build artifacts under `target` directory - run babel and webpack in parallel - support optional watch and sourcemaps in build - expose /common /public /plugin /server sub-exports as index.js - avoid importing deeply from `@kbn/interpreter` - move a couple missed dependencies from x-pack to kibana - remove custom babel-register implementation * fix bad conflict resolution
16 lines
527 B
JavaScript
16 lines
527 B
JavaScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License;
|
|
* you may not use this file except in compliance with the Elastic License.
|
|
*/
|
|
|
|
import { Registry } from '@kbn/interpreter/common';
|
|
import { RenderFunction } from './render_function';
|
|
|
|
class RenderFunctionsRegistry extends Registry {
|
|
wrapper(obj) {
|
|
return new RenderFunction(obj);
|
|
}
|
|
}
|
|
|
|
export const renderFunctionsRegistry = new RenderFunctionsRegistry();
|