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:
@@ -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')
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user