@web/rollup-plugin-html 1.10.2 → 1.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -10,7 +10,7 @@ const crypto_1 = __importDefault(require("crypto"));
|
|
|
10
10
|
const utils_1 = require("../../assets/utils");
|
|
11
11
|
const parse5_utils_2 = require("@web/parse5-utils");
|
|
12
12
|
function createContentHash(content) {
|
|
13
|
-
return crypto_1.default.createHash('
|
|
13
|
+
return crypto_1.default.createHash('md5').update(content).digest('hex');
|
|
14
14
|
}
|
|
15
15
|
function isAbsolute(src) {
|
|
16
16
|
try {
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@ export interface ExtractModulesParams {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
function createContentHash(content: string) {
|
|
17
|
-
return crypto.createHash('
|
|
17
|
+
return crypto.createHash('md5').update(content).digest('hex');
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
function isAbsolute(src: string) {
|