Skip to content

Commit

Permalink
fix: use production over development for optimization checks
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloashmore committed Jul 2, 2021
1 parent 1e13c98 commit b466791
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/SliceZone.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from "react";
import * as prismicT from "@prismicio/types";

import { __PRODUCTION__ } from "./dev";
import { __PRODUCTION__ } from "./buildOptimizations";

/**
* The minimum required properties to represent a Prismic Slice for the `<SliceZone>` component.
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/lib/invariant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* SOFTWARE.
*/

import { __PRODUCTION__ } from "../dev";
import { __PRODUCTION__ } from "../buildOptimizations";

const prefix = "Invariant failed";

Expand Down

0 comments on commit b466791

Please sign in to comment.