File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ export default function (adapter) {
1111 /**
1212 * @type {import('../../project.inlang/settings.json') }
1313 */
14- const settings = JSON . parse ( fs . readFileSync ( './project.inlang/settings.json' , 'utf-8' ) )
15- builder . prerendered . paths = builder . prerendered . paths . filter ( ( path ) => {
16- for ( const locale of settings . locales ) {
17- if ( path . startsWith ( '/' + locale ) ) return true
18- }
19- } )
14+ // const settings = JSON.parse(fs.readFileSync('./project.inlang/settings.json', 'utf-8'))
15+ // builder.prerendered.paths = builder.prerendered.paths.filter((path) => {
16+ // for (const locale of settings.locales) {
17+ // if (path.startsWith('/' + locale)) return true
18+ // }
19+ // })
2020 adapter . adapt ( builder )
2121 }
2222 }
You can’t perform that action at this time.
0 commit comments