FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
webpack/lib/MultiModuleFactory.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
/
MultiModuleFactory.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
19 lines (16 loc) · 599 Bytes
Breadcrumbs
webpack
/
lib
/
MultiModuleFactory.js
Copy path
File metadata and controls
19 lines (16 loc) · 599 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
17
18
19
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
var
Tapable
=
require
(
"tapable"
)
;
var
MultiModule
=
require
(
"./MultiModule"
)
;
function
MultiModuleFactory
(
)
{
Tapable
.
call
(
this
)
;
}
module
.
exports
=
MultiModuleFactory
;
MultiModuleFactory
.
prototype
=
Object
.
create
(
Tapable
.
prototype
)
;
MultiModuleFactory
.
prototype
.
constructor
=
MultiModuleFactory
;
MultiModuleFactory
.
prototype
.
create
=
function
(
data
,
callback
)
{
var
dependency
=
data
.
dependencies
[
0
]
;
callback
(
null
,
new
MultiModule
(
data
.
context
,
dependency
.
dependencies
,
dependency
.
name
)
)
;
}
;
Back
|
FazBrowse Home
|
New Git URL