Skip to content

Commit

Permalink
add github issue
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellacosse committed Jan 23, 2025
1 parent 927876a commit 702aab9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/src/www/webpack_base.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ export const baseConfig = {
fallback: {url: require.resolve('url/')},
// These aliai prevents multiple copies of lit from creeping into the build:
// See: https://lit.dev/docs/tools/development/#multiple-lit-versions

// We should be able to remove this once we drop support for iOS 15 and consolidate
// our component libraries (see #2345)
alias: {
lit: path.resolve(getRootDir(), 'node_modules/lit'),
'lit/*': path.resolve(getRootDir(), 'node_modules/lit/*'),
Expand Down
3 changes: 3 additions & 0 deletions server_manager/base.webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ exports.makeConfig = options => {
extensions: ['.tsx', '.ts', '.js'],
// This alias prevents multiple copies of lit from creeping into the build:
// See: https://lit.dev/docs/tools/development/#multiple-lit-versions

// We should be able to remove this once we drop support for iOS 15 and consolidate
// our component libraries (see #2345)
alias: {
lit: path.resolve(__dirname, '../node_modules/lit'),
'lit/*': path.resolve(__dirname, '../node_modules/lit/*'),
Expand Down

0 comments on commit 702aab9

Please sign in to comment.