diff options
author | 2021-03-25 14:06:08 -0400 | |
---|---|---|
committer | 2021-03-25 14:06:08 -0400 | |
commit | 3db595937719b89956c594e4a76ee68ae8de098a (patch) | |
tree | e463889925f71539f28730f957b195b1806b3cb0 /src/dev.ts | |
parent | 18e7cc5af903543ac6f46780bfea67c13c6517df (diff) | |
download | astro-3db595937719b89956c594e4a76ee68ae8de098a.tar.gz astro-3db595937719b89956c594e4a76ee68ae8de098a.tar.zst astro-3db595937719b89956c594e4a76ee68ae8de098a.zip |
First pass at the build (#27)
This updates `astro build` to do a production build. It works! No optimizations yet.
Diffstat (limited to 'src/dev.ts')
-rw-r--r-- | src/dev.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev.ts b/src/dev.ts index efa7f1f6c..19bfa6530 100644 --- a/src/dev.ts +++ b/src/dev.ts @@ -21,7 +21,7 @@ const logging: LogOptions = { export default async function (astroConfig: AstroConfig) { const { projectRoot } = astroConfig; - const runtime = await createRuntime(astroConfig, logging); + const runtime = await createRuntime(astroConfig, { logging, env: 'dev' }); const server = http.createServer(async (req, res) => { const result = await runtime.load(req.url); |