0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-26 23:54:23 +01:00

fix: enable js tree shaking

This commit is contained in:
Andrea Stagi 2022-12-29 16:31:43 +01:00
parent 9e17b2b34c
commit f235338bcd

View File

@ -35,8 +35,9 @@
} }
], ],
"main": "dist/js/bootstrap.js", "main": "dist/js/bootstrap.js",
"module": "dist/js/bootstrap.esm.js", "module": "js/index.esm.js",
"sass": "scss/bootstrap.scss", "sass": "scss/bootstrap.scss",
"sideEffects": false,
"style": "dist/css/bootstrap.css", "style": "dist/css/bootstrap.css",
"scripts": { "scripts": {
"start": "npm-run-all --parallel watch docs-serve", "start": "npm-run-all --parallel watch docs-serve",