You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to expose 2 components and 2 mixins from my library (and eventually later, when its working, move the install function as well, in order to set the default import to VueTable)
When i build the library with vue-cli-service build --target lib --name VueTable src/main.js the install function is available but none of the 4th exports
What is expected?
I would like to be able to import the modules with import { VueTable, vueTableMixin, VueTablePagination, vueTablePaginationMixin } from '@lossendae/vue-table'
What is actually happening?
Any of those imports return undefined
This look like an issue with tree shaking. I tested a bunch of config options locally via the vue.config.js file but to no avail :
Version
3.0.0-beta.15
Reproduction link
https://github.com/lossendae/vue-table
Steps to reproduce
I want to expose 2 components and 2 mixins from my library (and eventually later, when its working, move the install function as well, in order to set the default import to VueTable)
When i build the library with
vue-cli-service build --target lib --name VueTable src/main.js
the install function is available but none of the 4th exportsWhat is expected?
I would like to be able to import the modules with
import { VueTable, vueTableMixin, VueTablePagination, vueTablePaginationMixin } from '@lossendae/vue-table'
What is actually happening?
Any of those imports return
undefined
This look like an issue with tree shaking. I tested a bunch of config options locally via the
vue.config.js
file but to no avail :The text was updated successfully, but these errors were encountered: