Skip to content

Commit

Permalink
Code factorization
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Feb 8, 2024
1 parent 77d23a1 commit 62606da
Show file tree
Hide file tree
Showing 7 changed files with 4,587 additions and 650 deletions.
2 changes: 1 addition & 1 deletion bin/php_minifier.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import phpMinifier from "@cedx/php-minifier";
export function compressPhp() {
const isWindows = process.platform == "win32";

/** @type {import("@cedx/php-minifier").PluginOptions} */
/** @type {import("@cedx/php-minifier").GulpPluginOptions} */
const options = {
binary: isWindows ? "C:\\Program Files\\PHP\\php.exe" : "/usr/bin/php",
mode: isWindows ? "safe" : "fast",
Expand Down
Loading

0 comments on commit 62606da

Please sign in to comment.