Skip to content

Commit

Permalink
refactor: replace terser with esbuild and move to TS (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
wKovacs64 authored Oct 25, 2022
1 parent 91f5230 commit 4e349f2
Show file tree
Hide file tree
Showing 11 changed files with 872 additions and 357 deletions.
5 changes: 5 additions & 0 deletions .changeset/light-cobras-carry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'gatsby-plugin-use-dark-mode': minor
---

Replace `terser` with `esbuild` for minification, drop the `prop-types` dependency, and convert plugin source to TypeScript.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
gatsby-node.js
gatsby-ssr.js
theme-hydration-script-tag.js
!__tests__/**
!src/**
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,5 @@ yarn.lock
# build output
gatsby-node.js
gatsby-ssr.js
theme-hydration-script-tag.js
!__tests__/**
!src/**
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package.json
gatsby-node.js
gatsby-ssr.js
theme-hydration-script-tag.js
!__tests__/**
!src/**
Loading

0 comments on commit 4e349f2

Please sign in to comment.