moles-packer icon indicating copy to clipboard operation
moles-packer copied to clipboard

moles-packer 是由携程框架团队研发的,与携程moles框架配套使用的React Native 打包和拆包工具,同时支持原生的 React Native 项目。

Results 26 moles-packer issues
Sort by recently updated
recently updated
newest added

我看了携程技术中心最新的分享,已经开始使用unbundle和prepack方案,另外最新的携程包打开就是unbundle方案了,请问是moles-packer在使用过程中有什么难解决的问题吗?

这个工具还在维护吗?rn 后续的版本是否还会推进?

这个目前还有在维护么

--bundle xx.jsbundle 打出来的文件始终是index.jsbundle --common false 每次仍然会打common包

``` start ... fs.js:651 var r = binding.read(fd, buffer, offset, length, position); ^ Error: EISDIR: illegal operation on a directory, read at Error (native) at Object.fs.readSync (fs.js:651:19) at Object.fs.readFileSync (fs.js:472:24)...

``` var mp = require('moles-packer'); var options = { 'entry': 'index.ios.js', "platform": "ios", 'output': './build', 'bundle': true, 'common-bundle': true, "verbose":true, "single":false, "minify":true, "standalone":false }; var promise = mp.pack(options, function ()...

``` Error: Cannot find module '../node_modules/babel-preset-es2015' at Function.Module._resolveFilename (module.js:469:15) at Function.Module._load (module.js:417:25) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at _transform_react (/Users/fri3nds/coding/react-native-examples/AwesomeProject/node_modules/moles-packer/lib/transform.js:139:22) ``` 我个人是用 npm script 来用的, ``` "deploy": "moles-packer --entry...

moles-packer --entry index.ios.js --platform ios --standalone --output ./build --verbose [MOLES_PACKER] -- options parsed -- name value -------------- ---------------------------- base "/Users/iwangx/Cai8" bundle true commonOutput "BASE/build/moles.common" dev false entry "BASE/index.ios.js" execOnRequired false...