mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +00:00
15 lines
459 B
JavaScript
15 lines
459 B
JavaScript
|
/* eslint-disable no-global-assign, no-unused-vars */
|
||
|
/* global $RefreshRuntime$, $RefreshSetup$ */
|
||
|
|
||
|
/**
|
||
|
* Code prepended to each JS-like module to setup react-refresh globals.
|
||
|
*
|
||
|
* All globals are injected via Webpack parser hooks.
|
||
|
*
|
||
|
* The function declaration syntax below is needed for `Template.getFunctionContent` to parse this.
|
||
|
*/
|
||
|
module.exports = function () {
|
||
|
$RefreshRuntime$ = require('$RefreshRuntimePath$');
|
||
|
$RefreshSetup$(module.id);
|
||
|
};
|