mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Because symlinking is impossible on Windows, and copying node_modules files is too slow, we can't just symlink/copy all node_modules files into .meteor/local/build/programs/server/npm like we do for other platforms, so we have to search for them where they are. Part of #6500.
5 lines
174 B
JavaScript
5 lines
174 B
JavaScript
var fs = require("fs");
|
|
var path = require("path");
|
|
var serverJsonPath = path.resolve(process.argv[2]);
|
|
module.exports = JSON.parse(fs.readFileSync(serverJsonPath, 'utf8'));
|