mirror of
https://github.com/webislife/wc-wysiwyg.git
synced 2025-07-21 05:47:26 +00:00
add vite.config.js, remove legacy code, improve readme.md
This commit is contained in:
11
vite.config.js
Normal file
11
vite.config.js
Normal file
@ -0,0 +1,11 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import { resolve } from 'path';
|
||||
export default defineConfig({
|
||||
build: {
|
||||
lib: {
|
||||
entry: resolve(__dirname, './src/wc-wysiwyg.ts'),
|
||||
name: 'WcWysiwyg',
|
||||
fileName: (format) => `wc-wysiwyg.${format}.js`,
|
||||
},
|
||||
},
|
||||
});
|
Reference in New Issue
Block a user