mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
60e482aa80
I'm not sure how my setup was different but I was unable to get the extension to run locally without adding a binary. This mirrors what Svelte does so I'm assuming it's the way it's supposed to be loaded.
6 lines
No EOL
150 B
JavaScript
6 lines
No EOL
150 B
JavaScript
#! /usr/bin/env node
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
const { startServer } = require('../dist/index');
|
|
|
|
startServer(); |