Skip to content

It may be a good idea to return .default by default #15

Open
@Konard

Description

@Konard
// const axios = require('axios');
// const _ = require('lodash');
// const faker = require('faker');

const { use } = eval(
  await fetch('https://unpkg.com/use-m/use.js').then(u => u.text())
); 

const _ = await use('lodash@4');
const axios = (await use('axios@1')).default;
const faker = await use('faker@5');

Or maybe not - need to think.

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