exclude the polyfill files as well from being transpiled

as they are not used in the development build
This commit is contained in:
Bruno Windels 2021-08-17 12:53:36 +02:00
parent ebd177263a
commit 522f8d085a

View file

@ -13,7 +13,13 @@ module.exports = {
},
exclude: [
/* Avoid scanning scripts which use dev-dependencies and pull in babel, rollup, etc. */
'**/node_modules/**/*', '**/scripts/**', '**/target/**', '**/prototypes/**', '**/src/matrix/storage/memory/**'
'**/node_modules/**/*',
'**/scripts/**',
'**/target/**',
'**/prototypes/**',
'**/src/matrix/storage/memory/**',
'**/src/platform/web/legacy-polyfill.js',
'**/src/platform/web/worker/polyfill.js'
],
plugins: [
/* ... */