Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

normalizeConfig excludes dependencies from build #526

Open
johannes-z opened this issue Nov 10, 2020 · 1 comment
Open

normalizeConfig excludes dependencies from build #526

johannes-z opened this issue Nov 10, 2020 · 1 comment

Comments

@johannes-z
Copy link

See: https://github.com/egoist/bili/blob/master/src/index.ts#L126

Even with bundleNodeModules for umd-modules, all dependencies specified in package.json are externalized. This is the only way I found to make externals work properly:

  extendConfig: config => {
    config.externals = [
      'myExternals...'
    ]
    return config
  },
@djkloop
Copy link

djkloop commented Feb 13, 2021

same issue #559

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants