Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101956587
WebpackOptionsDefaulter.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Feb 15, 14:10
Size
470 B
Mime Type
text/x-c++
Expires
Mon, Feb 17, 14:10 (2 d)
Engine
blob
Format
Raw Data
Handle
24252743
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
WebpackOptionsDefaulter.js
View Options
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict"
;
const
{
applyWebpackOptionsDefaults
}
=
require
(
"./config/defaults"
);
const
{
getNormalizedWebpackOptions
}
=
require
(
"./config/normalization"
);
class
WebpackOptionsDefaulter
{
process
(
options
)
{
options
=
getNormalizedWebpackOptions
(
options
);
applyWebpackOptionsDefaults
(
options
);
return
options
;
}
}
module
.
exports
=
WebpackOptionsDefaulter
;
Event Timeline
Log In to Comment