egoist / bili

Bili makes it easier to bundle JavaScript libraries.

Home Page:https://bili.egoist.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

normalizeConfig excludes dependencies from build

johannes-z opened this issue · comments

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
  },

same issue #559