* chore(NA): moving @kbn/storybook to babel transpiler * chore(NA): fix import from kbn/storybook * chore(NA): fix public interface * chore(NA): fix kbn-storybook preset * chore(NA): update types Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
19 lines
653 B
JavaScript
19 lines
653 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
|
|
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
* Side Public License, v 1.
|
|
*/
|
|
|
|
// eslint-disable-next-line
|
|
const webpackConfig = require('./target_node/webpack.config');
|
|
|
|
module.exports = {
|
|
managerEntries: (entry = []) => {
|
|
return [...entry, require.resolve('./target_node/lib/register')];
|
|
},
|
|
webpackFinal: (config) => {
|
|
return webpackConfig({ config });
|
|
},
|
|
};
|