Someone have an idea how to import bootstrap 5 in app.js? i tried to import 'bootstrap' or' bootstrap.bundle', but i get this error: `ERROR in ./node_modules/bootstrap/dist/js/bootstrap.esm.js Module build failed: SyntaxError: Unexpected token (1243:15) 1241 | 1242 | _getConfig(config) { > 1243 | config = { ...Default$a, | ^ 1244 | ...Manipulator.getDataAttributes(this._element), 1245 | ...(typeof config === 'object' ? config : {}) 1246 | };` i think there is a problem with spread operator, do i missed to setup something in webpack?
Someone have an idea how to import bootstrap 5 in app.js?
i tried to import 'bootstrap' or' bootstrap.bundle', but i get this error:
`ERROR in ./node_modules/bootstrap/dist/js/bootstrap.esm.js
Module build failed: SyntaxError: Unexpected token (1243:15)
1241 |
1242 | _getConfig(config) {
i think there is a problem with spread operator, do i missed to setup something in webpack?