svelte-compiler 0.1.0

Core compiler API for the Rust Svelte toolchain
Documentation
1
2
3
4
5
use crate::error::CompileError;

pub(crate) fn validate_module_source(source: &str) -> Option<CompileError> {
    crate::api::validation::validate_module_program(source)
}