Skip to content

Need help for configuration #185

Open
@msev

Description

@msev

Hi,

First of all, thank you for this library, which allows me to load vendors by entry point on rollUp.

However, I don't understand why Swiper modules are injected into the nonExistent array.

import Swiper from 'swiper';
import { Navigation, Pagination } from 'swiper/modules'; // <-- nonExistent

Here is my very basic configuration:

const list = dependencyTree.toList({
  filename: value,
  directory: options.routes.base,
  nodeModulesConfig: {
    entry: 'module'
  },
  nonExistent
});

Swiper's first import is in the list, but the modules are in the nonExistent array.

I must be missing something in the configuration.

Thanks for your help

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