Making a full bundle #2843
Unanswered
alemscoder
asked this question in
Q&A
Replies: 1 comment
-
I solved, I use Rollup, here the config file: export default { |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I have created a bundle with the following configuration using ViteJS:
import { defineConfig } from 'vite'
// https://vitejs.dev/config/
export default defineConfig({
build: {
lib: {
entry: 'node_modules/@spectrum-web-components/bundle/elements.js',
formats: ['es']
},
rollupOptions: {
//external: /^lit/
}
}
})
and in the output I have obtained several js files:
my question is the following: is there a way to create a single full bundle file? or some way to unify those obtained in the build?
thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions