Skip to content

Import/Require From dist folder is confusing #94

Closed
@polluterofminds

Description

@polluterofminds

Most JS libraries will handle importing or requiring packages like this:

import library from 'library';

or

const library = require('library');

With Exceptionless, because the JS client is a monorepo, the developer has to remember to import from the library's dist folder.

A better approach would be how other projects handle this like:

import exceptionless from '@exceptionless/node

or

const exceptionless = require('@exceptionless/browser')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions