You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a workaround in my case I added the executable script file to a folder outside the build dir (let's say bin), and keep the contents to just a single require call to the one in the build dir.
./bin/foo.js:
#! /usr/bin/env node
require('../build/foo.js');
This file in bin stays the same, so I added the executable flag there.
Feature request. Could the 'execute' permission be preserved the the generated output?
Current situation:
It would be nice if
build/main.js
also had thex
permissions so it can be executed directly.The text was updated successfully, but these errors were encountered: