Skip to content

ESM Support  #336

Description

@naftalimurgor

Hey,
Noob question here: From the docs, we should:

var Buffer = require('buffer/').Buffer  // note: the trailing slash is important!

Question: How does one use the import/export style and is it supported?

For example:

import { Buffer } from 'buffer/'

Ty!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions