File tree 9 files changed +11
-30
lines changed
9 files changed +11
-30
lines changed Original file line number Diff line number Diff line change 24
24
"prepublishOnly:pull" : " git pull" ,
25
25
"prepublishOnly:install" : " npm ci" ,
26
26
"prepublishOnly:test" : " npm test" ,
27
- "test" : " next build test/sample && jest" ,
27
+ "test" : " next build demo && jest" ,
28
+ "test:withoutbuild" : " jest" ,
28
29
"prepare" : " npm run build" ,
29
30
"clean" : " rimraf lib" ,
30
31
"build" : " unbuild"
Original file line number Diff line number Diff line change 3
3
exports [` onBuild() writes correct redirects to netlifyConfig 1` ] = `
4
4
"/_next/image* /_ipx/w_:width,q_:quality/:url 301
5
5
/_ipx/* /.netlify/functions/_ipx 200
6
+ /_next/data/I9WsDBcMY6HmfxTpCRMvs/getStaticProps/withFallback/:id.json /.netlify/functions/___netlify-odb-handler 200
7
+ /_next/data/I9WsDBcMY6HmfxTpCRMvs/getStaticProps/withFallback/:slug/* /.netlify/functions/___netlify-odb-handler 200
8
+ /_next/data/I9WsDBcMY6HmfxTpCRMvs/getStaticProps/withFallbackBlocking/:id.json /.netlify/functions/___netlify-odb-handler 200
9
+ /_next/data/I9WsDBcMY6HmfxTpCRMvs/getStaticProps/withRevalidate/withFallback/:id.json /.netlify/functions/___netlify-odb-handler 200
10
+ /getStaticProps/withFallback/:id /.netlify/functions/___netlify-odb-handler 200
11
+ /getStaticProps/withFallback/:slug/* /.netlify/functions/___netlify-odb-handler 200
12
+ /getStaticProps/withFallbackBlocking/:id /.netlify/functions/___netlify-odb-handler 200
13
+ /getStaticProps/withRevalidate/withFallback/:id /.netlify/functions/___netlify-odb-handler 200
6
14
/_next/static/* /static/:splat 200
7
15
/* /.netlify/functions/___netlify-handler 200
8
16
"
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ const getNextConfig = require('../src/helpers/getNextConfig')
13
13
const usesBuildCommand = require ( '../src/helpers/usesBuildCommand' )
14
14
15
15
const FIXTURES_DIR = `${ __dirname } /fixtures`
16
- const SAMPLE_PROJECT_DIR = `${ __dirname } /sample `
16
+ const SAMPLE_PROJECT_DIR = `${ __dirname } /../demo `
17
17
18
18
const utils = {
19
19
build : {
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments