File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -167,6 +167,7 @@ The forms plugin is configured with [registration options](https://hapi.dev/api/
167167- ` filters ` (optional) - A map of custom template filters to include
168168- ` cacheName ` (optional) - The cache name to use. Defaults to hapi's [ default server cache] . Recommended for production. See [ here]
169169 (#custom-cache) for more details
170+ - ` viewPaths ` (optional) - Include additional view paths when using custom ` page.view ` s
170171- ` pluginPath ` (optional) - The location of the plugin (defaults to ` node_modules/@defra/forms-engine-plugin ` )
171172
172173### Services
Original file line number Diff line number Diff line change 33 "version" : " 0.1.1" ,
44 "description" : " Defra forms engine" ,
55 "type" : " module" ,
6- "main" : " .server/server/plugins/engine/index.js" ,
76 "files" : [
87 " .server" ,
98 " .public" ,
1211 "exports" : {
1312 "." : {
1413 "sass" : " ./.server/client/stylesheets/application.scss" ,
15- "import" : " ./.server/client/javascripts/application .js" ,
16- "default" : " ./.server/client/javascripts/application .js"
14+ "import" : " ./.server/server/plugins/engine/index .js" ,
15+ "default" : " ./.server/server/plugins/engine/index .js"
1716 },
18- "./file-upload.js" : " ./.server/client/javascripts/file-upload.js"
17+ "./application.js" : " ./.server/client/javascripts/application.js" ,
18+ "./file-upload.js" : " ./.server/client/javascripts/file-upload.js" ,
19+ "./application.min.js" : " ./.public/javascripts/application.min.js" ,
20+ "./file-upload.min.js" : " ./.public/javascripts/file-upload.min.js" ,
21+ "./controllers/*" : " ./.server/server/plugins/engine/pageControllers/*"
1922 },
2023 "scripts" : {
2124 "build" : " npm run build:server && npm run build:client" ,
You can’t perform that action at this time.
0 commit comments