11
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2026-04-07 01:56:54 +00:00

fix: rollback update of commitlint to support configs that use commonjs

This commit is contained in:
Wagner Santos 2024-03-28 16:29:46 -03:00
parent e15adf3661
commit 06143b235b
17 changed files with 3576 additions and 5435 deletions

View file

@ -5,10 +5,10 @@ import { babel } from '@rollup/plugin-babel'
import pkg from './package.json'
export default {
input: 'run.mjs',
input: 'run.js',
external: (depName) =>
depName.includes('node_modules') && !depName.includes('node_modules/dargs'),
output: [{ file: pkg.module, format: 'es' }],
output: [{ file: pkg.main, format: 'cjs' }],
plugins: [
babel({
babelHelpers: 'bundled',