single-file-core 1.0.3 → 1.0.4
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.
package/.eslintrc.js
CHANGED
package/modules/index.js
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
24
|
import * as fontsAltMinifier from "./css-fonts-alt-minifier.js";
|
|
25
|
-
import * as fontsMinifier from "./css-fonts-minifier";
|
|
25
|
+
import * as fontsMinifier from "./css-fonts-minifier.js";
|
|
26
26
|
import * as matchedRules from "./css-matched-rules.js";
|
|
27
27
|
import * as mediasAltMinifier from "./css-medias-alt-minifier.js";
|
|
28
28
|
import * as cssRulesMinifier from "./css-rules-minifier.js";
|
package/package.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
|
|
24
24
|
/* global globalThis */
|
|
25
25
|
|
|
26
|
-
import * as hooksFrames from "./../../hooks/content/content-hooks-frames";
|
|
26
|
+
import * as hooksFrames from "./../../hooks/content/content-hooks-frames.js";
|
|
27
27
|
import {
|
|
28
28
|
LAZY_SRC_ATTRIBUTE_NAME,
|
|
29
29
|
SINGLE_FILE_UI_ELEMENT_CLASS
|
package/single-file-helper.js
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
/* global globalThis, CustomEvent */
|
|
25
25
|
|
|
26
26
|
import * as cssUnescape from "./vendor/css-unescape.js";
|
|
27
|
-
import * as hooksFrames from "./processors/hooks/content/content-hooks-frames";
|
|
27
|
+
import * as hooksFrames from "./processors/hooks/content/content-hooks-frames.js";
|
|
28
28
|
|
|
29
29
|
const ON_BEFORE_CAPTURE_EVENT_NAME = "single-file-on-before-capture";
|
|
30
30
|
const ON_AFTER_CAPTURE_EVENT_NAME = "single-file-on-after-capture";
|
package/vendor/index.js
CHANGED
|
@@ -26,8 +26,8 @@ import * as mediaQueryParser from "./css-media-query-parser.js";
|
|
|
26
26
|
import * as cssMinifier from "./css-minifier.js";
|
|
27
27
|
import * as cssTree from "./css-tree.js";
|
|
28
28
|
import * as cssUnescape from "./css-unescape.js";
|
|
29
|
-
import * as srcsetParser from "./html-srcset-parser";
|
|
30
|
-
import { MIMEType } from "./mime-type-parser";
|
|
29
|
+
import * as srcsetParser from "./html-srcset-parser.js";
|
|
30
|
+
import { MIMEType } from "./mime-type-parser.js";
|
|
31
31
|
|
|
32
32
|
export {
|
|
33
33
|
fontPropertyParser,
|