You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
769 B
34 lines
769 B
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = void 0;
|
|
|
|
var _webpack = _interopRequireDefault(require("webpack"));
|
|
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
|
|
class CssDependency extends _webpack.default.Dependency {
|
|
constructor({
|
|
identifier,
|
|
content,
|
|
media,
|
|
sourceMap
|
|
}, context, identifierIndex) {
|
|
super();
|
|
this.identifier = identifier;
|
|
this.identifierIndex = identifierIndex;
|
|
this.content = content;
|
|
this.media = media;
|
|
this.sourceMap = sourceMap;
|
|
this.context = context;
|
|
}
|
|
|
|
getResourceIdentifier() {
|
|
return `css-module-${this.identifier}-${this.identifierIndex}`;
|
|
}
|
|
|
|
}
|
|
|
|
exports.default = CssDependency;
|