now
Introduction
Setup
{
"version": 2,
"name": "my-light-project",
"builds": [{ "src": "routes/**/*.js", "use": "@now/node" }],
"routes": [
{ "src": "/", "dest": "routes/index.js" },
{ "src": "/(.*)", "dest": "routes/$1.js" }
],
"env": {
"NODE_ENV": "production",
"LIGHT_ENV": "now"
}
}Last updated
Was this helpful?