We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 332543c commit e72533dCopy full SHA for e72533d
packages/gatsby-plugin-image/src/node-apis/image-processing.ts
@@ -85,10 +85,11 @@ export async function writeImages({
85
async ([hash, { src, ...args }]) => {
86
let file: FileSystemNode | undefined
87
let fullPath
88
- if (process.env.GATSBY_EXPERIMENTAL_REMOTE_IMAGES && isRemoteURL(src)) {
+ if (isRemoteURL(src)) {
89
let createRemoteFileNode
90
try {
91
- ;({ createRemoteFileNode } = require(`gatsby-source-filesystem`))
+ createRemoteFileNode = require(`gatsby-source-filesystem`)
92
+ .createRemoteFileNode
93
} catch (e) {
94
reporter.panic(`Please install gatsby-source-filesystem`)
95
}
0 commit comments