NervJS / nerv

A blazing fast React alternative, compatible with IE8 and React 16.
https://nerv.aotu.io
MIT License
5.42k stars 267 forks source link

使用babel-polyfill报错 #81

Open yeyongyong opened 6 years ago

yeyongyong commented 6 years ago

报错提示:

react-lifecycles-compat.es.js?47c9:54 Uncaught Error: Can only polyfill class components
    at polyfill (react-lifecycles-compat.es.js?47c9:54)
    at eval (Dropdown.js?51e1:194)
    at Object.<anonymous> (app.f0b4b59c.js:2116)
    at __webpack_require__ (runtime.f0b4b59c.js:713)
    at fn (runtime.f0b4b59c.js:118)
    at eval (390:2)
    at Object.<anonymous> (app.f0b4b59c.js:2109)
    at __webpack_require__ (runtime.f0b4b59c.js:713)
    at fn (runtime.f0b4b59c.js:118)
    at eval (dropdown.js?d65c:31)
luckyadam commented 6 years ago

能不能看看你的webpack配置