1.测试 启动webpack-dev-server 2.发布 ./build.sh publish 发布是不使用webpack的,使用babel+shell 3.开发 不要使用webpack的宏变量!因为发布后这些会带到用户那。 全部使用相对路径导入。