Skip to content

Missing dependencies #63

Description

@wingsbob

Is this a bug report?

Yup! When I tried adding 'dynamic-cdn-webpack-plugin' to my project, it causes webpack to crash trying to require in a dependency.

Please find a minimal recreation here: https://github.com/wingsbob/dynamic-cdn-webpack-plugin-issue

Environment

npm ls dynamic-cdn-webpack-plugin
frontend@1.0.0 project root
`-- dynamic-cdn-webpack-plugin@4.0.0
npm ls webpack
frontend@1.0.0 project root
`-- webpack@4.30.0

Steps to Reproduce

require('dynamic-cdn-webpack-plugin')?

Expected Behavior

Webpack runs 🤷‍♂

Actual Behavior

Webpack crashes with

Error: Cannot find module 'babel-runtime/core-js/object/values'

This happens on requiring 'dynamic-cdn-webpack-plugin'

Reproducible Demo

https://github.com/wingsbob/dynamic-cdn-webpack-plugin-issue

Instructions in the readme.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions