diff --git a/src/index.d.ts b/src/index.d.ts deleted file mode 100644 index 38cc4a7402c..00000000000 --- a/src/index.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -/* - * 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 @typescript-eslint/triple-slash-reference */ -/// -/// diff --git a/src/index.js b/src/index.ts similarity index 87% rename from src/index.js rename to src/index.ts index 7bbb0905cea..cceaba905f7 100644 --- a/src/index.js +++ b/src/index.ts @@ -6,11 +6,7 @@ * Side Public License, v 1. */ -import * as Packages from '../packages'; - export * from './components'; export * from './services'; export * from './utils'; export * from './themes'; - -export { Packages }; diff --git a/src/webpack.config.js b/src/webpack.config.js index 6731350df91..1471a4e4d8e 100644 --- a/src/webpack.config.js +++ b/src/webpack.config.js @@ -45,7 +45,7 @@ module.exports = { devtool: isProduction ? 'source-map' : 'cheap-module-source-map', entry: { - guide: './index.js', + guide: './index.ts', }, context: __dirname,