Use local version 0.7 of lit-virtualizer (#9321)

This commit is contained in:
Bram Kragten
2021-06-01 11:39:15 +02:00
committed by GitHub
parent 00c6b0f8ed
commit 2427d68aa1
64 changed files with 4207 additions and 20 deletions

View File

@@ -116,8 +116,9 @@ const createWebpackConfig = ({
// We need to change the import of the polyfill for EventTarget, so we replace the polyfill file with our customized one
new webpack.NormalModuleReplacementPlugin(
new RegExp(
require.resolve(
"@lit-labs/virtualizer/lib/uni-virtualizer/lib/polyfillLoaders/EventTarget.js"
path.resolve(
paths.polymer_dir,
"src/resources/lit-virtualizer/lib/uni-virtualizer/lib/polyfillLoaders/EventTarget.js"
)
),
path.resolve(paths.polymer_dir, "src/resources/EventTarget-ponyfill.js")