2022-01-28 09:20:54 +00:00
|
|
|
import { defineConfig } from 'vite'
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
build: {
|
|
|
|
lib: {
|
|
|
|
entry: './source/iframe-integration-script.js',
|
|
|
|
name: 'monEntrepriseIframe',
|
|
|
|
formats: ['iife'],
|
2022-06-27 08:20:36 +00:00
|
|
|
fileName: () => 'simulateur-iframe-integration.js',
|
2022-01-28 09:20:54 +00:00
|
|
|
},
|
|
|
|
emptyOutDir: false,
|
|
|
|
},
|
|
|
|
})
|