1
0
mirror of synced 2025-12-21 19:06:49 -05:00

Move site search to use an endpoint (#17359)

* Move site search to use an endpoint

* Update browser.js

* Update search.js

* Update lib/search/versions.js

Co-authored-by: James M. Greene <JamesMGreene@github.com>

* Fix URLs

Co-authored-by: James M. Greene <JamesMGreene@github.com>
This commit is contained in:
Kevin Heis
2021-01-20 07:37:42 -08:00
committed by GitHub
parent c5c2347f0a
commit 2fb2e962bc
30 changed files with 436 additions and 416 deletions

View File

@@ -86,12 +86,5 @@ module.exports = {
]
}),
new EnvironmentPlugin(['NODE_ENV'])
],
resolve: {
alias: {
// Hogan uses `new Function` which breaks content security policy
// Turns out, we aren't even using it anyways!
'hogan.js': path.resolve(__dirname, 'javascripts/fake-hogan.js')
}
}
]
}