@xenon.js/configs
Version:
All common configuration related to JavaScript.
28 lines (24 loc) • 462 B
JavaScript
/**
* 脚本文件扩展名
*
* @type {string}
*/
export const scriptExt = `{js?(x),ts?(x),mts?(x),mjs?(x),cts?(x),cjs?(x)}`;
/**
* JS 脚本文件扩展名
*
* @type {string}
*/
export const javascriptExt = `{js?(x),mjs?(x),cjs?(x)}`;
/**
* TS 脚本文件扩展名
*
* @type {string}
*/
export const typescriptExt = `{ts?(x),mts?(x),cts?(x)}`;
/**
* 测试脚本文件名后缀
*
* @type {string}
*/
export const testSuffix = `{test,spec}`;