source: trip-planner-front/node_modules/webpack/lib/dependencies/ImportMetaHotDeclineDependency.js@ eed0bf8

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

initial commit

  • Property mode set to 100644
File size: 812 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 ImportMetaHotDeclineDependency extends ModuleDependency {
13 constructor(request, range) {
14 super(request);
15
16 this.range = range;
17 this.weak = true;
18 }
19
20 get type() {
21 return "import.meta.webpackHot.decline";
22 }
23
24 get category() {
25 return "esm";
26 }
27}
28
29makeSerializable(
30 ImportMetaHotDeclineDependency,
31 "webpack/lib/dependencies/ImportMetaHotDeclineDependency"
32);
33
34ImportMetaHotDeclineDependency.Template = ModuleDependencyTemplateAsId;
35
36module.exports = ImportMetaHotDeclineDependency;
Note: See TracBrowser for help on using the repository browser.