From bf6c5247eaccff3ff410c00f61ba589c0f5e0a16 Mon Sep 17 00:00:00 2001 From: thinkinggis Date: Mon, 2 Dec 2019 17:55:16 +0800 Subject: [PATCH] fix(gatsby): gastsby node --- gatsby-node.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gatsby-node.js b/gatsby-node.js index 348d91eba7..c707046b93 100644 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -11,6 +11,13 @@ exports.onCreateWebpackConfig = ({ getConfig }) => { config.resolve.alias = { ...config.resolve.alias, '@antv/l7': path.resolve(__dirname, 'packages/l7/src'), - '@antv/l7-maps': path.resolve(__dirname, 'packages/maps/src') + '@antv/l7-core': path.resolve(__dirname, 'packages/core/src'), + '@antv/l7-component': path.resolve(__dirname, 'packages/component/src'), + '@antv/l7-layers': path.resolve(__dirname, 'packages/layers/src'), + '@antv/l7-maps': path.resolve(__dirname, 'packages/maps/src'), + '@antv/l7-renderer': path.resolve(__dirname, 'packages/renderer/src'), + '@antv/l7-scene': path.resolve(__dirname, 'packages/scene/src'), + '@antv/l7-source': path.resolve(__dirname, 'packages/source/src'), + '@antv/l7-utils': path.resolve(__dirname, 'packages/utils/src'), }; };