calvinmetcalf / rollup-plugin-node-builtins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'promisify' is not exported by node_modules/rollup-plugin-node-builtins/src/es6/util.js

btakita opened this issue · comments

import { promisify } from 'util

results with the error:

'promisify' is not exported by node_modules/rollup-plugin-node-builtins/src/es6/util.js

Is this related to #43?

promisify was added in v8.0.0 in Node. The current version is 13. Can we expect someone else to take over this module, since it's mentioned in the docs as the official way to bundle code that uses Node's built-ins? It's a real headache to navigate around these module-related issues, and when you finally get it, it still doesn't work because the official docs themselves recommend abandoned repositories as solutions.

Also an issue with TextDecoder

Error: 'TextDecoder' is not exported by node_modules/rollup-plugin-node-builtins/src/es6/util.js

Same wth pipeline from stream

Just been bitten by this again. Any hints where this should be implemented in rollup so I can look into creating a PR?