mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 10:13:25 +00:00
Fix build
This commit is contained in:
@@ -6,12 +6,7 @@ const dts = require('vite-plugin-dts');
|
||||
const main = path.resolve(__dirname, 'src/index.ts');
|
||||
|
||||
module.exports = defineConfig({
|
||||
plugins: [
|
||||
eslint(),
|
||||
dts({
|
||||
include: [main],
|
||||
}),
|
||||
],
|
||||
plugins: [eslint(), dts({})],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': path.resolve(__dirname, './src'),
|
||||
@@ -23,11 +18,8 @@ module.exports = defineConfig({
|
||||
|
||||
lib: {
|
||||
entry: main,
|
||||
name: 'providers',
|
||||
fileName: 'providers',
|
||||
name: 'index',
|
||||
fileName: 'index',
|
||||
},
|
||||
},
|
||||
test: {
|
||||
globals: true,
|
||||
},
|
||||
});
|
||||
|
Reference in New Issue
Block a user