mirror of
https://github.com/web-infra-dev/midscene.git
synced 2025-08-11 02:01:26 +00:00

* feat(cache): The cache is generalized to support Puppeteers and mobile terminals * chore: update cache test * chore: update cache test * chore: update cache test * docs: update cache doc * chore: update ai test command * chore: update ai test command * chore: update ai test command * chore: optimize cache logic * chore: update get dir path logic * chore: update get dir path logic
20 lines
548 B
TypeScript
20 lines
548 B
TypeScript
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',
|
|
externals: ['@midscene/core', 'node:fs'],
|
|
},
|
|
});
|