UNPKG

@resk/core

Version:

An innovative TypeScript framework that empowers developers to build applications with a fully decorator-based architecture for efficient resource management. By combining the power of decorators with a resource-oriented design, DecorRes enhances code cla

13 lines (10 loc) 307 B
import { createRequire } from 'module'; const require = createRequire(import.meta.url); const auth = require('../../build/auth/index.js'); export default auth; // Export all named exports for tree-shaking for (const key in auth) { if (key !== 'default') { global[key] = auth[key]; } }