Skip to content

Commit 6c28462

Browse files
authored
Merge pull request #46 from jeetiss/fix-tree-shaking
Add pure notation
2 parents d2e4e0f + 3b5c56b commit 6c28462

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/buildWorkerCode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default base64;
4343
return `
4444
/* eslint-disable */
4545
import {${factoryFuncName}} from '\0rollup-plugin-web-worker-loader::helper::${options.targetPlatform}::${factoryFuncName}';
46-
var WorkerFactory = ${factoryFuncName}(${argsString});
46+
var WorkerFactory = /*#__PURE__*/${factoryFuncName}(${argsString});
4747
export default WorkerFactory;
4848
/* eslint-enable */\n`;
4949
}

0 commit comments

Comments
 (0)