Closed
Description
I am having trouble getting tree shaking working. I import the two icons I am using
import { createApp } from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import { io } from 'socket.io-client'
import {BIconList, BIconMap} from 'bootstrap-icons-vue'
const app = createApp(App)
app.config.globalProperties.$socket = io(process.env.VUE_APP_URL)
app.component('BIconList', BIconList)
app.component('BIconMap', BIconMap)
app.mount('#app')
But webpack-bundle-analyzer shows that practically the entire lib.esm.js loaded.