From 600ea22b10679f92547de3f21fae48ae831653c0 Mon Sep 17 00:00:00 2001 From: tjcouch-sil Date: Mon, 22 Jan 2024 08:32:16 -0600 Subject: [PATCH] Reworked explanation for package aliases. Also removed note about splitting into its own repo as this problem will not be solved as long as the package used is local --- webpack/webpack.config.base.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/webpack/webpack.config.base.ts b/webpack/webpack.config.base.ts index 2cc95c4..18b6579 100644 --- a/webpack/webpack.config.base.ts +++ b/webpack/webpack.config.base.ts @@ -139,11 +139,12 @@ const configBase: webpack.Configuration = { // use tsconfig.json paths https://www.npmjs.com/package/tsconfig-paths-webpack-plugin new TsconfigPathsPlugin(), ], - // Load `papi-components`' `dependencies` from `paranext-core` so the extension will share these - // dependencies with the bundled copy of `papi-components` and avoid duplicate packages. - // These paths are broken up like this so multi-extension folder can format the path properly + // Load `platform-bible-react`' `dependencies` from `paranext-core` so the extension will share + // these dependencies with the bundled copy of `platform-bible-react` and avoid duplicate + // packages. These paths are broken up like this so multi-extension folder can format the path + // properly // https://webpack.js.org/configuration/resolve/#resolvealias - // TODO: Remove this when `papi-components` is split into its own repo or is published to npm + // TODO: Remove this when `platform-bible-react` is published to npm alias: { '@emotion/react': path.resolve( __dirname,