carbon-preprocess-svelte 0.11.19 → 0.11.21

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/dist/utils.js DELETED
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isSvelteFile = isSvelteFile;
4
- exports.isCssFile = isCssFile;
5
- exports.isCarbonSvelteImport = isCarbonSvelteImport;
6
- const constants_1 = require("./constants");
7
- function isSvelteFile(id) {
8
- return constants_1.RE_EXT_SVELTE.test(id);
9
- }
10
- function isCssFile(id) {
11
- return constants_1.RE_EXT_CSS.test(id);
12
- }
13
- function isCarbonSvelteImport(id) {
14
- return isSvelteFile(id) && id.includes(constants_1.CarbonSvelte.Components);
15
- }