Skip to content

Commit

Permalink
fix: content security policy issue in client log
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Mar 23, 2021
1 parent 76f85ba commit 2de2e01
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
10 changes: 10 additions & 0 deletions client-src/transpiled-modules/SyncBailHookFake.js
@@ -0,0 +1,10 @@
'use strict';

/**
* Client stub for tapable SyncBailHook
*/
module.exports = function clientTapableSyncBailHook() {
return {
call() {},
};
};
6 changes: 6 additions & 0 deletions client-src/transpiled-modules/webpack.config.js
Expand Up @@ -23,6 +23,12 @@ const base = {
},
],
},
plugins: [
new webpack.NormalModuleReplacementPlugin(
/^tapable\/lib\/SyncBailHook/,
path.join(__dirname, 'SyncBailHookFake.js')
),
],
};

module.exports = [
Expand Down

0 comments on commit 2de2e01

Please sign in to comment.