@growing-web/esm-pack-core
Version:
esm pack build core.
72 lines (67 loc) • 1.18 kB
text/typescript
export const APP_NAME = 'esm-pack'
export const EXTENSIONS = [
'.ts',
'.tsx',
'.mjs',
'.cjs',
'.js',
'.jsx',
'.json',
]
export const FILE_EXCLUDES = [
'tsconfig.json',
'eslint',
'tslint',
'prettier',
'stylelint',
'commitlint',
'turbo',
'main.package',
'vetur',
'.vscode',
'build-info.json',
'build.json',
'.env',
'.gitignore',
'.npmrc',
'.yarnrc',
'pnpm-lock.yaml',
'package-lock.json',
'yarn.lock',
'nginx.conf',
]
export const FILES_IGNORE = [
'**/src/**',
'**/bin/**',
'**/node_modules/**',
'**/vetur/**',
'**/.vscode/**',
'**/.idea/**',
'**/.changeset/**',
'**/.husky/**',
'**/.esmd/**',
'**/pnpm-lock.yaml/**',
'**/yarn.lock/**',
'**/package-lock.json/**',
'**/.prettierrc.json/**',
'**/.commitlintrc.json/**',
'**/ecosystem.config.js/**',
'**/scripts/**',
'**/.dockerignore/**',
'**/Dockerfile/**',
'**/.eslintrc.json/**',
'**/nest-cli.json/**',
'**/nodemon.json/**',
'**/nginx.conf/**',
'**/yarnrc/**',
'**/.gitignore/**',
'**/.markdownlint.yml/**',
]
export const FILE_EXTENSIONS = [
...EXTENSIONS,
'.less',
'.scss',
'.css',
'.sass',
'.postcss',
]