FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
webpack/lib/ModuleWarning.js at master · codeinvain/webpack · GitHub
codeinvain
webpack
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
webpack
/
lib
/
ModuleWarning.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
16 lines (15 loc) · 457 Bytes
Breadcrumbs
webpack
/
lib
/
ModuleWarning.js
Copy path
File metadata and controls
16 lines (15 loc) · 457 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
function
ModuleWarning
(
module
,
warning
)
{
Error
.
call
(
this
)
;
Error
.
captureStackTrace
(
this
,
ModuleWarning
)
;
this
.
name
=
"ModuleWarning"
;
this
.
module
=
module
;
this
.
message
=
warning
;
this
.
warning
=
warning
;
}
module
.
exports
=
ModuleWarning
;
ModuleWarning
.
prototype
=
Object
.
create
(
Error
.
prototype
)
;
ModuleWarning
.
prototype
.
constructor
=
ModuleWarning
;
Back
|
FazBrowse Home
|
New Git URL