mirror of
https://github.com/movie-web/simple-proxy.git
synced 2025-09-13 12:33:26 +00:00
repo setup
This commit is contained in:
16
vite.config.js
Normal file
16
vite.config.js
Normal file
@@ -0,0 +1,16 @@
|
||||
const path = require('path');
|
||||
const { defineConfig } = require('vite');
|
||||
const { default: eslint } = require('vite-plugin-eslint');
|
||||
|
||||
module.exports = defineConfig({
|
||||
plugins: [eslint()],
|
||||
build: {
|
||||
minify: false,
|
||||
lib: {
|
||||
entry: path.resolve(__dirname, 'src/main.js'),
|
||||
name: 'worker',
|
||||
formats: ['es'],
|
||||
fileName: () => `worker.js`,
|
||||
},
|
||||
},
|
||||
});
|
Reference in New Issue
Block a user