Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F118099113
ExportWebpackRequireRuntimeModule.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
Tue, Jun 17, 16:53
Size
577 B
Mime Type
text/x-c++
Expires
Thu, Jun 19, 16:53 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
26818616
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
ExportWebpackRequireRuntimeModule.js
View Options
/*
MIT License http://www.opensource.org/licenses/mit-license.php
*/
"use strict";
const RuntimeModule = require("../RuntimeModule");
class ExportWebpackRequireRuntimeModule extends RuntimeModule {
constructor() {
super("export webpack runtime", RuntimeModule.STAGE_ATTACH);
}
/**
* @returns {boolean} true, if the runtime module should get it's own scope
*/
shouldIsolate() {
return false;
}
/**
* @returns {string} runtime code
*/
generate() {
return "export default __webpack_require__;";
}
}
module.exports = ExportWebpackRequireRuntimeModule;
Event Timeline
Log In to Comment