shelljs/shelljs

using shelljs in a JS Module is broken.

Open

#1.071 aberto em 25 de jan. de 2022

Ver no GitHub
 (7 comments) (0 reactions) (0 assignees)JavaScript (777 forks)batch import
es6featurehelp wanted

Métricas do repositório

Stars
 (14.062 stars)
Métricas de merge de PR
 (Mesclagem média 3d 12h) (2 fundiu PRs em 30d)

Description

nodejs v16.13.2, shelljs@0.8.5, windows

import  * as shell from 'shelljs'

Using shelljs in a JS Module (ES Module) results in a imported shell object with missing functions.

Anyone has found a solution to use shelljs in a ES Module based project ?

Guia do colaborador