File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " workerize-loader-wp5" ,
3
- "version" : " 2.0.0 " ,
3
+ "version" : " 2.0.1 " ,
4
4
"description" : " Automatically move a module into a Web Worker (Webpack loader)" ,
5
5
"keywords" : [
6
6
" webpack" ,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import WebWorkerTemplatePlugin from "webpack/lib/webworker/WebWorkerTemplatePlug
7
7
export default function loader ( ) { }
8
8
9
9
const CACHE = { } ;
10
- const tapName = "workerize-loader" ;
10
+ const tapName = "workerize-loader-wp5 " ;
11
11
12
12
const compilationHook = ( compiler , handler ) => {
13
13
if ( compiler . hooks ) {
@@ -57,7 +57,7 @@ loader.pitch = (request) => {
57
57
compilerOptions . output . globalObject === "window"
58
58
) {
59
59
console . warn (
60
- 'Warning (workerize-loader): output.globalObject is set to "window". It should be set to "self" or "this" to support HMR in Workers.'
60
+ 'Warning (workerize-loader-wp5 ): output.globalObject is set to "window". It should be set to "self" or "this" to support HMR in Workers.'
61
61
) ;
62
62
}
63
63
@@ -141,7 +141,7 @@ loader.pitch = (request) => {
141
141
}
142
142
compilation . moduleGraph . addExtraReason (
143
143
entryModule ,
144
- "used by workerize-loader"
144
+ "used by workerize-loader-wp5 "
145
145
) ;
146
146
}
147
147
} ) ;
You can’t perform that action at this time.
0 commit comments