source: trip-planner-front/node_modules/webpack/lib/dependencies/ImportMetaHotAcceptDependency.js@ 188ee53

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

initial commit

  • Property mode set to 100644
File size: 805 bytes
Line 
1/*
2 MIT License http://www.opensource.org/licenses/mit-license.php
3 Author Ivan Kopeykin @vankop
4*/
5
6"use strict";
7
8const makeSerializable = require("../util/makeSerializable");
9const ModuleDependency = require("./ModuleDependency");
10const ModuleDependencyTemplateAsId = require("./ModuleDependencyTemplateAsId");
11
12class ImportMetaHotAcceptDependency extends ModuleDependency {
13 constructor(request, range) {
14 super(request);
15 this.range = range;
16 this.weak = true;
17 }
18
19 get type() {
20 return "import.meta.webpackHot.accept";
21 }
22
23 get category() {
24 return "esm";
25 }
26}
27
28makeSerializable(
29 ImportMetaHotAcceptDependency,
30 "webpack/lib/dependencies/ImportMetaHotAcceptDependency"
31);
32
33ImportMetaHotAcceptDependency.Template = ModuleDependencyTemplateAsId;
34
35module.exports = ImportMetaHotAcceptDependency;
Note: See TracBrowser for help on using the repository browser.