Skip to content

ESM Support  #336

@naftalimurgor

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!

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