mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 10:13:25 +00:00
repo setup
This commit is contained in:
24
vite.config.js
Normal file
24
vite.config.js
Normal file
@@ -0,0 +1,24 @@
|
||||
const path = require('path');
|
||||
const { defineConfig } = require('vitest/config');
|
||||
const { default: eslint } = require('vite-plugin-eslint');
|
||||
const dts = require('vite-plugin-dts');
|
||||
|
||||
module.exports = defineConfig({
|
||||
plugins: [eslint(), dts()],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': path.resolve(__dirname, './src'),
|
||||
},
|
||||
},
|
||||
build: {
|
||||
outDir: 'lib',
|
||||
lib: {
|
||||
entry: path.resolve(__dirname, 'src/index.ts'),
|
||||
name: 'providers',
|
||||
fileName: 'providers',
|
||||
},
|
||||
},
|
||||
test: {
|
||||
globals: true,
|
||||
},
|
||||
});
|
Reference in New Issue
Block a user