Skip to content

Node.js

Build with Flox

Not only can you develop your software with Flox, but you can build it as well. See the builds concept page for more details.

Node.js applications should have their node_modules directory placed under the $out/lib directory.

[build.myproject]
command = '''
  npm install --production --prefix=$out/lib
'''