webpack/lib/InitFragment.js

24 lines
469 B
JavaScript
Raw Normal View History

/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Florent Cailhol @ooflorent
*/
"use strict";
/** @typedef {import("webpack-sources").Source} Source */
class InitFragment {
/**
* @param {string|Source} content [TODO]
2018-07-25 01:56:35 +08:00
* @param {number} priority [TODO]
* @param {string=} key [TODO]
*/
2018-07-25 01:56:35 +08:00
constructor(content, priority, key) {
this.content = content;
2018-07-25 01:56:35 +08:00
this.priority = priority;
this.key = key;
}
}
module.exports = InitFragment;