forked from webpack-contrib/worker-loader
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: rename the
name
option (webpack-contrib#261)
BREAKING CHANGE: the `name` option was renamed to the `filename` option
- Loading branch information
1 parent
b9f027b
commit d8f3b9e
Showing
7 changed files
with
29 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`"filename" option should work: errors 1`] = `Array []`; | ||
|
||
exports[`"filename" option should work: module 1`] = ` | ||
"export default function() { | ||
return new Worker(__webpack_public_path__ + \\"my-custom-name.js\\"); | ||
}; | ||
" | ||
`; | ||
|
||
exports[`"filename" option should work: result 1`] = `"{\\"postMessage\\":true,\\"onmessage\\":true}"`; | ||
|
||
exports[`"filename" option should work: warnings 1`] = `Array []`; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters