Skip to content

Commit

Permalink
chore: Import turf modules, not full package
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr committed Jul 8, 2024
1 parent b0cf22a commit c4f1e3d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 2 additions & 0 deletions editor.planx.uk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
"@tiptap/react": "^2.4.0",
"@tiptap/suggestion": "^2.0.3",
"@turf/area": "^7.0.0",
"@turf/bbox": "^7.0.0",
"@turf/bbox-polygon": "^7.0.0",
"@turf/buffer": "^7.0.0",
"@turf/helpers": "^7.0.0",
"array-move": "^4.0.0",
Expand Down
13 changes: 13 additions & 0 deletions editor.planx.uk/pnpm-lock.yaml

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

Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import { bbox, bboxPolygon, feature } from "@turf/turf";
import { bbox } from "@turf/bbox";
import { bboxPolygon } from "@turf/bbox-polygon";
import { feature } from "@turf/helpers";
import axios from "axios";
import { useFormik } from "formik";
import { useStore } from "pages/FlowEditor/lib/store";
Expand Down

0 comments on commit c4f1e3d

Please sign in to comment.