打成npm包怎么不把react打进去。
hb751968840
August 7, 2017, 3:07am
#1
我写了一个组件import 了 react ,怎么能打包之后变成var react = require(“react”);
就像这种