diff --git a/index.js b/index.js index 2293e23..05fa33b 100644 --- a/index.js +++ b/index.js @@ -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); diff --git a/tests/defaults.test.js b/tests/defaults.test.js index 8652214..e384d2a 100644 --- a/tests/defaults.test.js +++ b/tests/defaults.test.js @@ -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", () => {