@ findify/bundle (中文(简体) )
安装
Bundle是一个外框解决方案,意在通过在网页上加入脚本标记在浏览器中工作.
查找编译 bundle.js,包括商家的仓库配置,并从私人CDN服务此文件.
如果你喜欢自己管理一切 - 检查我们如何设置环境 @ findify/cli (英语) 软件包
联合国
yarn build:dll # Build DLL once you changed deps.
yarn start # Run devserver on http://localhost:3000
变量
__MERCHANT_API_KEY__ # Store API key
__MERCHANT_VERSION__ # Bundle version
__MERCHANT_CSS__ # Path to custom CSS file
__INCLUDE_POLYFILL__ # Should use polyfill or not
__ENVIRONMENT__ 'prod|stage' # Environment
__DISABLE_SENTRY__ # Should report errors to Findify
__SENTRY_ENABLED__ # Same as above
__MERCHANT_ID__ # ID of merchant