From 4e87195739f2a5d9a05451b48773c8afdc680765 Mon Sep 17 00:00:00 2001 From: akiyamn Date: Sun, 24 Sep 2023 23:22:21 +1000 Subject: Initial commit (by create-cloudflare CLI) --- .../rollup-plugin-node-polyfills/polyfills/console.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 node_modules/rollup-plugin-node-polyfills/polyfills/console.js (limited to 'node_modules/rollup-plugin-node-polyfills/polyfills/console.js') diff --git a/node_modules/rollup-plugin-node-polyfills/polyfills/console.js b/node_modules/rollup-plugin-node-polyfills/polyfills/console.js new file mode 100644 index 0000000..d819929 --- /dev/null +++ b/node_modules/rollup-plugin-node-polyfills/polyfills/console.js @@ -0,0 +1,13 @@ +function noop(){} + +export default global.console ? global.console : { + log: noop, + info: noop, + warn: noop, + error: noop, + dir: noop, + assert: noop, + time: noop, + timeEnd: noop, + trace: noop +}; -- cgit v1.2.3