Skip to content

Commit

Permalink
update globby
Browse files Browse the repository at this point in the history
  • Loading branch information
flashdesignory committed Jun 25, 2023
1 parent 7089485 commit 99c7abf
Show file tree
Hide file tree
Showing 3 changed files with 122 additions and 23 deletions.
141 changes: 120 additions & 21 deletions resources/todomvc/todomvc-css/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion resources/todomvc/todomvc-css/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@rollup/plugin-terser": "^0.4.3",
"@rollup/pluginutils": "^5.0.2",
"fs-extra": "^11.1.1",
"globby": "^11.1.0",
"globby": "^13.2.0",
"http-server": "^14.1.1",
"rollup": "^3.23.0",
"rollup-plugin-cleaner": "^1.0.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import fs from "fs-extra";
import path from "path";
import globby from "globby";

async function create(src, dest) {
const contents = await fs.readFile(src, "utf-8");
Expand All @@ -18,6 +17,7 @@ function constructableCSS({ src, dest = "dist/", hook = "generateBundle" } = {})
return {
name: "constructable-css",
[hook]: async () => {
const { globby } = await import("globby");
const matchedPaths = await globby(src, {
expandDirectories: false,
});
Expand Down

0 comments on commit 99c7abf

Please sign in to comment.