-
Notifications
You must be signed in to change notification settings - Fork 744
Use with webpack broken in 0.7.6 #667
Copy link
Copy link
Closed
Labels
Description
Node version (or tell us if you're using electron or some other framework):
Electron
ShellJS version (the most recent version/Github branch you see the bug on):
0.7.6
Operating system:
OSX
Description of the bug:
TypeError: __webpack_require__(...).forEach is not a function
at eval (webpack:///./~/shelljs/shell.js?:26:25)
Example ShellJS command to reproduce the error:
import { shell } from 'shelljs'Webpack is simply confused by this commands.json trick introduced in #616.
Works in 0.7.5 before the trick.
Reactions are currently unavailable