diff --git a/vite.config.js b/vite.config.js new file mode 100644 index 0000000000000000000000000000000000000000..5cb6895d89b0dd9350b083c131f5cd8155676115 --- /dev/null +++ b/vite.config.js @@ -0,0 +1,13 @@ +const path = require('path') +const { defineConfig } = require('vite') + +module.exports = defineConfig({ + build: { + lib: { + entry: path.resolve(__dirname, 'src/main.ts'), + name: 'MyLib', + //fileName: (format) => `my-lib.${format}.js` + fileName: 'chatterbox.js' + } + } +}) \ No newline at end of file