Skip to content

Commit b60f942

Browse files
committed
fix env variable name
1 parent 3f97ecc commit b60f942

File tree

1 file changed

+1
-1
lines changed
  • examples/client-only-paths/src

1 file changed

+1
-1
lines changed

examples/client-only-paths/src/html.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import typography from "./utils/typography"
66
let stylesStr
77
if (process.env.NODE_ENV === `production`) {
88
try {
9-
stylesStr = require(`!raw-loader!../${process.env.OUTPUT_DIRECTORY}/styles.css`)
9+
stylesStr = require(`!raw-loader!../${process.env.GATSBY_OUTPUT_DIR}/styles.css`)
1010
} catch (e) {
1111
console.log(e)
1212
}

0 commit comments

Comments
 (0)