Skip to content

Commit 3c8a1e2

Browse files
fix(Device): avoid modernizr to be treeshaked (#419)
1 parent 0ea08c9 commit 3c8a1e2

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

packages/base/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@
1414
"author": "SAP SE (https://www.sap.com)",
1515
"license": "Apache-2.0",
1616
"sideEffects": [
17-
"**/modernizr.js",
17+
"**/modernizr",
1818
"core-js/**/*",
19-
"./src/polyfill/*.ts",
20-
"./polyfill/*.js",
19+
"**/polyfill/*",
2120
"intersection-observer",
2221
"proxy-polyfill/*"
2322
],

packages/base/rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
const rollupConfigFactory = require('../../shared/rollup/configFactory');
22

3-
const config = rollupConfigFactory('base', ['@ui5/webcomponents-core']);
3+
const config = rollupConfigFactory('base', ['@ui5/webcomponents-base']);
44
module.exports = config;

0 commit comments

Comments
 (0)