1. Compiler
  2. Version

Compiler

Version

The current version, as set in package.json.

        const svelte = require('svelte/compiler');
console.log(`running svelte version ${svelte.VERSION}`);