Skip to content
This repository has been archived by the owner on May 10, 2021. It is now read-only.

Commit

Permalink
revert next/image support until jimp module issue is resolved (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
lindsaylevine authored Jan 18, 2021
1 parent 3a3ccc7 commit f76bae8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ const nextOnNetlify = (options = {}) => {

setupPages({ functionsPath, publishPath });

setupImageFunction(functionsPath);
// TO-DO: put back when jimp module issue is resolved ;(
// setupImageFunction(functionsPath);

setupRedirects(publishPath);

Expand Down
7 changes: 4 additions & 3 deletions tests/defaults.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,10 @@ describe("API Pages", () => {
describe("next/image", () => {
const functionsDir = join(PROJECT_PATH, "out_functions");

test("sets up next_image as a function in every project by default", () => {
expect(existsSync(join(functionsDir, "next_image.js"))).toBe(true);
});
// TO-DO: put back when jump module issue is resolved ;(
// test("sets up next_image as a function in every project by default", () => {
// expect(existsSync(join(functionsDir, "next_image.js"))).toBe(true);
// });
});

describe("SSG Pages with getStaticProps", () => {
Expand Down

0 comments on commit f76bae8

Please sign in to comment.