Skip to content

Commit 2de2e01

Browse files
authored
fix: content security policy issue in client log
1 parent 76f85ba commit 2de2e01

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
'use strict';
2+
3+
/**
4+
* Client stub for tapable SyncBailHook
5+
*/
6+
module.exports = function clientTapableSyncBailHook() {
7+
return {
8+
call() {},
9+
};
10+
};

client-src/transpiled-modules/webpack.config.js

+6
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ const base = {
2323
},
2424
],
2525
},
26+
plugins: [
27+
new webpack.NormalModuleReplacementPlugin(
28+
/^tapable\/lib\/SyncBailHook/,
29+
path.join(__dirname, 'SyncBailHookFake.js')
30+
),
31+
],
2632
};
2733

2834
module.exports = [

0 commit comments

Comments
 (0)