svelte-preprocess
Advanced tools
Comparing version 5.0.0 to 5.0.1
import type { AutoPreprocessGroup, AutoPreprocessOptions, Processed, TransformerArgs, TransformerOptions } from './types'; | ||
export declare const transform: (name: string | null | undefined, options: TransformerOptions, { content, markup, map, filename, attributes }: TransformerArgs<any>) => Promise<Processed>; | ||
export declare function sveltePreprocess({ aliases, markupTagName, preserve, sourceMap, ...rest }?: AutoPreprocessOptions): AutoPreprocessGroup; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { sveltePreprocess } from './autoProcess'; |
@@ -0,0 +0,0 @@ "use strict"; |
export declare const throwError: (msg: string) => never; | ||
export declare const throwTypescriptError: () => void; |
@@ -0,0 +0,0 @@ "use strict"; |
export declare function globalifySelector(selector: string): string; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import type { PreprocessorArgs } from '../types'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import type { Transformer, Preprocessor } from '../types'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export declare function prepareContent({ options, content, }: { |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import type { PreprocessorArgs } from '../types'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export declare function concat(...arrs: any[]): any[]; |
@@ -0,0 +0,0 @@ "use strict"; |
import type { PreprocessorGroup, Options } from '../types'; | ||
declare const _default: (options?: Options.Babel) => PreprocessorGroup; | ||
export default _default; |
@@ -0,0 +0,0 @@ "use strict"; |
import type { PreprocessorGroup, Options } from '../types'; | ||
declare const _default: (options?: Options.Coffeescript) => PreprocessorGroup; | ||
export default _default; |
@@ -0,0 +0,0 @@ "use strict"; |
import type { PreprocessorGroup } from '../types'; | ||
declare const _default: () => PreprocessorGroup; | ||
export default _default; |
@@ -0,0 +0,0 @@ "use strict"; |
import type { PreprocessorGroup, Options } from '../types'; | ||
declare const _default: (options?: Options.Less) => PreprocessorGroup; | ||
export default _default; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import type { PreprocessorGroup, Options } from '../types'; |
@@ -0,0 +0,0 @@ "use strict"; |
import type { Options, PreprocessorGroup } from '../types/index'; | ||
declare const _default: (options?: Options.Pug) => PreprocessorGroup; | ||
export default _default; |
@@ -0,0 +0,0 @@ "use strict"; |
import type { PreprocessorGroup, Options } from '../types'; | ||
declare const _default: (options: Options.Replace) => PreprocessorGroup; | ||
export default _default; |
@@ -0,0 +0,0 @@ "use strict"; |
import type { PreprocessorGroup, Options } from '../types'; | ||
declare const _default: (options?: Options.Sass) => PreprocessorGroup; | ||
export default _default; |
@@ -0,0 +0,0 @@ "use strict"; |
import type { Options, PreprocessorGroup } from '../types'; | ||
declare const _default: (options?: Options.Stylus) => PreprocessorGroup; | ||
export default _default; |
@@ -0,0 +0,0 @@ "use strict"; |
import type { Options, PreprocessorGroup } from '../types'; | ||
declare const _default: (options?: Options.Typescript) => PreprocessorGroup; | ||
export default _default; |
@@ -0,0 +0,0 @@ "use strict"; |
import type { Transformer, Options } from '../types'; | ||
declare const transformer: Transformer<Options.Babel>; | ||
export { transformer }; |
@@ -0,0 +0,0 @@ "use strict"; |
import type { Transformer, Options } from '../types'; | ||
declare const transformer: Transformer<Options.Coffeescript>; | ||
export { transformer }; |
@@ -0,0 +0,0 @@ "use strict"; |
import type { Transformer, Options } from '../types'; | ||
declare const transformer: Transformer<Options.GlobalStyle>; | ||
export { transformer }; |
@@ -0,0 +0,0 @@ "use strict"; |
import type { Transformer, Options } from '../types'; | ||
declare const transformer: Transformer<Options.Less>; | ||
export { transformer }; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import type { Transformer, Options } from '../types'; |
@@ -0,0 +0,0 @@ "use strict"; |
import type { Transformer, Options } from '../types'; | ||
declare const transformer: Transformer<Options.Pug>; | ||
export { transformer }; |
@@ -0,0 +0,0 @@ "use strict"; |
import type { Transformer, Options } from '../types'; | ||
declare const transformer: Transformer<Options.Replace>; | ||
export { transformer }; |
@@ -0,0 +0,0 @@ "use strict"; |
import type { Transformer, Options } from '../types'; | ||
declare const transformer: Transformer<Options.Sass>; | ||
export { transformer }; |
@@ -0,0 +0,0 @@ "use strict"; |
import type { Transformer, Options } from '../types'; | ||
declare const transformer: Transformer<Options.Stylus>; | ||
export { transformer }; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import ts from 'typescript'; |
@@ -11,3 +11,3 @@ "use strict"; | ||
const magic_string_1 = __importDefault(require("magic-string")); | ||
const sorcery_1 = __importDefault(require("sorcery")); | ||
const sorcery_1 = require("sorcery"); | ||
const errors_1 = require("../modules/errors"); | ||
@@ -138,3 +138,3 @@ const markup_1 = require("../modules/markup"); | ||
} | ||
const chain = await sorcery_1.default.load(`${filename}.js`, sourceMapChain); | ||
const chain = await (0, sorcery_1.load)(`${filename}.js`, sourceMapChain); | ||
return chain.apply(); | ||
@@ -141,0 +141,0 @@ } |
@@ -0,0 +0,0 @@ import * as Options from './options'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import type { LegacyStringOptions } from 'sass'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
{ | ||
"name": "svelte-preprocess", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"license": "MIT", | ||
@@ -95,3 +95,3 @@ "main": "dist/index.js", | ||
"magic-string": "^0.27.0", | ||
"sorcery": "^0.10.0", | ||
"sorcery": "^0.11.0", | ||
"strip-indent": "^3.0.0" | ||
@@ -98,0 +98,0 @@ }, |
@@ -0,0 +0,0 @@ # Svelte Preprocess |
Sorry, the diff of this file is not supported yet
102289
65
+ Addedsorcery@0.11.0(transitive)
- Removedsorcery@0.10.0(transitive)
- Removedsourcemap-codec@1.4.8(transitive)
Updatedsorcery@^0.11.0