Inital code commit
Some checks failed
Build, Test, and Publish (to Private NPM Registry) UI Components Library / publish (push) Failing after 52m26s
Some checks failed
Build, Test, and Publish (to Private NPM Registry) UI Components Library / publish (push) Failing after 52m26s
This commit is contained in:
commit
5024375e20
32 changed files with 5379 additions and 0 deletions
15
rollup.config.js
Normal file
15
rollup.config.js
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import resolve from '@rollup/plugin-node-resolve';
|
||||
import terser from '@rollup/plugin-terser'; // For minification
|
||||
|
||||
export default {
|
||||
input: 'src/components/client-entry.js',
|
||||
output: {
|
||||
file: 'dist/client/components.js',
|
||||
format: 'es', // ES Modules are perfect for Web Components
|
||||
sourcemap: true,
|
||||
},
|
||||
plugins: [
|
||||
resolve(), // Resolves node_modules if your components use external libraries
|
||||
terser() // Minifies the output for production
|
||||
]
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue