svelte-as-markup-preprocessor
Advanced tools
Comparing version
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.asMarkupPreprocessor = void 0; | ||
const compiler_1 = require("svelte/compiler"); | ||
@@ -16,2 +17,2 @@ /** | ||
} | ||
exports.default = asMarkupPreprocessor; | ||
exports.asMarkupPreprocessor = asMarkupPreprocessor; |
{ | ||
"name": "svelte-as-markup-preprocessor", | ||
"version": "0.1.1", | ||
"version": "0.2.0", | ||
"description": "Run any svelte preprocessor to completion in the markup phase", | ||
"main": "out/cjs/index.js", | ||
"module": "out/esm/index.js", | ||
"type":"module", | ||
"exports": { | ||
@@ -44,6 +43,6 @@ "import": "./out/esm/index.js", | ||
"devDependencies": { | ||
"@tdi/eslint-config-base": "^0.1.0", | ||
"@typescript-eslint/eslint-plugin": "^4.5.0", | ||
"@typescript-eslint/parser": "^4.5.0", | ||
"eslint": "^7.12.0", | ||
"@tdi/eslint-config-base": "^0.1.1", | ||
"@typescript-eslint/eslint-plugin": "^4.6.0", | ||
"@typescript-eslint/parser": "^4.6.0", | ||
"eslint": "^7.12.1", | ||
"eslint-config-airbnb-typescript": "^12.0.0", | ||
@@ -55,3 +54,3 @@ "eslint-plugin-import": "^2.22.1", | ||
"tslib": "^2.0.3", | ||
"typescript": "^4.0.3" | ||
"typescript": "^4.0.5" | ||
}, | ||
@@ -58,0 +57,0 @@ "peerDependencies": { |
@@ -12,3 +12,3 @@ # asMarkupPreprocessor | ||
// svelte.config.js | ||
import asMarkupPreprocessor from 'svelte-as-markup-preprocessor' | ||
import {asMarkupPreprocessor} from 'svelte-as-markup-preprocessor' | ||
module.exports = { | ||
@@ -15,0 +15,0 @@ preprocess: [ |
5550
0.63%17
6.25%No
NaN