UNPKG

@themineway/smart-storage-js

Version:

A TS/JS library that provides a smart and easy way to store data

27 lines (25 loc) 700 B
import { defineConfig } from "vitest/config"; import path from "path"; export default defineConfig({ resolve: { alias: { "@connector": path.resolve(__dirname, "src/connector/index.ts"), "@warehouse": path.resolve(__dirname, "src/warehouse/index.ts"), "@types": path.resolve(__dirname, "src/types/index.ts"), "@exceptions": path.resolve(__dirname, "src/exceptions/index.ts"), }, }, test: { exclude: ["node_modules", "dist"], }, build: { lib: { entry: path.resolve(__dirname, "src/index.ts"), name: "SmartStorageJs", fileName: (format) => `smart-storage.${format}.js`, }, rollupOptions: { external: [], }, }, });