-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
-
Does it work with Webpack 2 ?
-
I have shebang
#!/usr/bin/env node
in .js file. What and where do I have to write to handle shebang with Webpack 2?
In the .js file I tried next
var command = require("shebang-loader!/usr/bin/env node");
var command = require("shebang-loader!/../bin/env node");
var command = require("shebang-loader!/../bin/command");
With all cases I had got an error
ERROR in ./src/execute-command-from-cli.js
Module not found: Error: Can't resolve '/usr/bin/env node' in '/home/surai/Documents/vs project/signage-viewer-linux/src'
@ ./src/execute-command-from-cli.js 2:14-57
WouterVanherckpmespresso
Metadata
Metadata
Assignees
Labels
No labels