Skip to content

Commit

Permalink
feat: Change build target to CJS
Browse files Browse the repository at this point in the history
Uses a prebuild and post-build step to enforce cjs compilation for nodejs support.
Removes test files from the build bundle.

BREAKING!: previous implementations of @kevintyj/prlint is now deprecated,
no support for mjs is provided due to upstream limitation.
  • Loading branch information
kevintyj committed Nov 24, 2023
1 parent 453a58d commit aaf60e9
Show file tree
Hide file tree
Showing 15 changed files with 2,424 additions and 1,850 deletions.
10 changes: 10 additions & 0 deletions .changeset/weak-windows-sin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@kevintyj/prlint": patch
---

Minify build output using cjs output

Uses a prebuild and post-build step to enforce cjs compilation for nodejs support.
Removes test files from the build bundle.
BREAKING!: previous implementations of @kevintyj/prlint is now deprecated,
no support for mjs is provided due to upstream limitation.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# commited dist files
!dist
lib

# dependencies
node_modules
Expand Down
Loading

0 comments on commit aaf60e9

Please sign in to comment.