facebookarchive / planout

PlanOut is a library and interpreter for designing online experiments.
http://facebook.github.io/planout
Other
1.68k stars 216 forks source link

Issue with Webpack v5 #159

Closed gita-vahdatinia closed 3 years ago

gita-vahdatinia commented 3 years ago

Bug report

I have an issue with planout that bundled fine with Webpack 4 but no longer works with Webpack 5.

What is the current behavior? Module is not loaded:

    at Function.defineProperty (<anonymous>)
    at Function.__webpack_require__.d (bundle.js:963)
    at eval (index.js:2)
    at Module../build/index.js (planout.js:102)
    at __nested_webpack_require_539__ (planout.js:25)
    at eval (planout.js:89)
    at eval (planout.js:92)
    at webpackUniversalModuleDefinition (planout.js:3)
    at eval (planout.js:5)
    at Object../node_modules/planout/dist/planout.js (bundle.js:291)

If the current behavior is a bug, please provide the steps to reproduce. Repo Here:

https://github.com/gita-v/webpack_issue

What is the expected behavior?

For module to load :)

Other relevant information: webpack version: 5.3.2 Node.js version: 14.14.0

gita-vahdatinia commented 3 years ago

Whoops, wrong repo :)