From 54f3affd80401051db8464d6bed8ad4ed1e66fd1 Mon Sep 17 00:00:00 2001 From: André Oliveira <37463445+SpecialAro@users.noreply.github.com> Date: Tue, 7 Jun 2022 17:01:37 +0100 Subject: Add webview.js to some services that were generated without it. (#42) This had blocked users from manually generating a `service.css` which is what the documentation recommends as self-help to override styling. Co-authored-by: Vijay A --- recipes/epicgames/webview.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 recipes/epicgames/webview.js (limited to 'recipes/epicgames/webview.js') diff --git a/recipes/epicgames/webview.js b/recipes/epicgames/webview.js new file mode 100644 index 0000000..46366f4 --- /dev/null +++ b/recipes/epicgames/webview.js @@ -0,0 +1,9 @@ +const _path = _interopRequireDefault(require('path')); + +function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; +} + +module.exports = Ferdium => { + Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); +}; \ No newline at end of file -- cgit v1.2.3-54-g00ecf