source: trip-planner-front/node_modules/webpack/lib/esm/ExportWebpackRequireRuntimeModule.js

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 577 bytes
Line 
1/*
2 MIT License http://www.opensource.org/licenses/mit-license.php
3*/
4
5"use strict";
6
7const RuntimeModule = require("../RuntimeModule");
8
9class ExportWebpackRequireRuntimeModule extends RuntimeModule {
10 constructor() {
11 super("export webpack runtime", RuntimeModule.STAGE_ATTACH);
12 }
13
14 /**
15 * @returns {boolean} true, if the runtime module should get it's own scope
16 */
17 shouldIsolate() {
18 return false;
19 }
20
21 /**
22 * @returns {string} runtime code
23 */
24 generate() {
25 return "export default __webpack_require__;";
26 }
27}
28
29module.exports = ExportWebpackRequireRuntimeModule;
Note: See TracBrowser for help on using the repository browser.