mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-31 18:07:00 +02:00
feat(v2): embed Canny feedback widget (#1280)
* feat(v2): embed Canny feedback widget * docs(v2): Mention source of Canny widget * misc(v2): add newline
This commit is contained in:
parent
398d7c7ae4
commit
d78220a818
5 changed files with 71 additions and 3 deletions
|
@ -92,7 +92,7 @@ module.exports = function createBaseConfig(props, isServer) {
|
|||
|
||||
const jsRule = config.module
|
||||
.rule('js')
|
||||
.test(/\.js$/)
|
||||
.test(/\.jsx?$/)
|
||||
.exclude.add(filepath => {
|
||||
// Always transpile lib directory
|
||||
if (filepath.startsWith(path.join(__dirname, '..'))) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue