Skip to content

Commit

Permalink
update import from papi-backend, and add papi-frontend/react to webpa…
Browse files Browse the repository at this point in the history
…ck externals
  • Loading branch information
Jolie Rabideau authored and Jolie Rabideau committed Nov 9, 2023
1 parent 8e0d7e0 commit 851e83c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import papi from 'papi-backend';

const { logger } = papi;
import { logger } from 'papi-backend';

export async function activate() {
logger.info('Extension template is activating!');
Expand Down
1 change: 1 addition & 0 deletions webpack/webpack.config.base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const configBase: webpack.Configuration = {
'react-dom',
'react-dom/client',
'papi-frontend',
'papi-frontend/react',
'papi-backend',
'@sillsdev/scripture',
],
Expand Down

0 comments on commit 851e83c

Please sign in to comment.