Skip to content

Commit

Permalink
Fix build extension
Browse files Browse the repository at this point in the history
  • Loading branch information
rafcontreras committed Jul 17, 2021
1 parent c196148 commit 68b4695
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "workerize-loader-wp5",
"version": "2.0.1",
"version": "2.0.2",
"description": "Automatically move a module into a Web Worker (Webpack loader)",
"keywords": [
"webpack",
Expand Down Expand Up @@ -56,7 +56,6 @@
"peerDependencies": {
"webpack": "5^"
},
"type": "module",
"bugs": {
"url": "https://github.com/rafcontreras/workerize-loader/issues"
},
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const exportDeclarationHook = (parser, handler) => {
return parser.plugin("export declaration", handler);
};

loader.pitch = (request) => {
loader.pitch = function(request) {
this.cacheable(false);

const options = loaderUtils.getOptions(this) || {};
Expand Down

0 comments on commit 68b4695

Please sign in to comment.