midscene/packages/web-integration/modern.config.ts

19 lines
502 B
TypeScript
Raw Normal View History

import { defineConfig, moduleTools } from '@modern-js/module-tools';
export default defineConfig({
plugins: [moduleTools()],
buildPreset: 'npm-library',
buildConfig: {
platform: 'node',
input: {
index: 'src/index.ts',
debug: 'src/debug/index.ts',
puppeteer: 'src/puppeteer/index.ts',
playwright: 'src/playwright/index.ts',
appium: 'src/appium/index.ts',
'playwright-report': './src/playwright/reporter/index.ts',
},
target: 'es2017',
},
});