{"_id":"miniapp-compile-config","_rev":"48-03634c463ac4406deefdb52a2befdc53","name":"miniapp-compile-config","dist-tags":{"beta":"0.3.4-1","latest":"0.3.3","alpha":"0.3.0-alpha.2","rc":"0.3.0-rc.2"},"versions":{"0.1.0-0":{"name":"miniapp-compile-config","version":"0.1.0-0","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/alibaba/rax#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/rax-scripts.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/alibaba/rax/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^6.0.3","fs-extra":"^9.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.13","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.1.0","rax-compile-config":"^0.2.15","rax-miniapp-babel-plugins":"^0.1.3","rax-miniapp-config-webpack-plugin":"^1.2.3","rax-miniapp-runtime-webpack-plugin":"^1.1.0","terser":"^5.2.1","ts-loader":"^8.0.3","webpack":"^4.44.1"},"_id":"miniapp-compile-config@0.1.0-0","_nodeVersion":"10.16.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-lMyaFyAYeeJO6COyz8CWp+fLhAD0eoQokYnp8yP/FtU4ng6H0DEI3SO27oUryKaOBSy428VXuvhla2JygZob4A==","shasum":"fd90b78e24f6810e65495482af38e850f5e2dbcb","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.1.0-0.tgz","fileCount":10,"unpackedSize":14358,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRNQxCRA9TVsSAnZWagAAQIUP/1W0RFXK19B0FHSBS4bv\n6GXgLOmkghwZ9CRvSoGm8zcZEsJV1duwZWcyBv+EoypFEDe38RajzCGfqvmJ\n4iMfeKXy+SMtWAyRA45yJpT4oIrz/CaW3TsCjDKEIMMoJjPTYvzL4eVzD88s\n5wNrqFCzxavN3E1apIYD5EyWEThSbAKT5ZsvInhq6D95I8UST5rPB5IqvP1o\ngtqQmATPbssD3kJmrMu9hN7/8dA5uE68XWvRPXlWcHIjVyieH/rKTYrSBetY\ndHIPG8BurPbs0uzkeq+qm5NtBNamcQvmqjX6qL20peILrXDXte6RnqXc70uL\n0MYnsHo/C/BAsLiQ9hAOleDn098OvEnpKCKftWzFg3iJBjEMHEr2zbIjXk66\n57JOj3xdDyWmiWcSv08Dkz3ZE0OOIZ9ocCh3ZjzMWuBfjRqeSf15CP/ujpg6\nisTP4Ca/hCK6e7Zd8fKMVDCfP0KeKymbbNjcVdsXAl8+eU7dR+jUi1YUYodg\ni50memF8XGf1On5qcwUTPmRwqdLjm4HbelGq2dWCGpjmdYsEkIWknPJmB5js\ndgLLt1Zd9flfPkX8BLUZBlGKf7y53hHsd94gGZIaYPGbLx5hu9ZGPQKnmpgR\ngDejWytWzBwwuvYoy+sUtX0ok+lkNKMbd518m3kGn6ATLqKiBa9iCH05oTt+\n96EM\r\n=6stq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF+Ox81hE3d1tfqxx1E/iI1eVOu1ZTD3p/tvfmk3RS2OAiEAwS3NZMSd/h+B5MnhMiqBqt/f3CAQzkHEWdK3fEbXkTg="}]},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.1.0-0_1598346288484_0.42813272793526713"},"_hasShrinkwrap":false},"0.1.0":{"name":"miniapp-compile-config","version":"0.1.0","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/alibaba/rax#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/rax-scripts.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/alibaba/rax/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^6.0.3","fs-extra":"^9.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.13","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.1.0","rax-compile-config":"^0.2.15","rax-miniapp-babel-plugins":"^0.1.3","rax-miniapp-config-webpack-plugin":"^1.2.3","rax-miniapp-runtime-webpack-plugin":"^1.1.0","terser":"^5.2.1","ts-loader":"^8.0.3","webpack":"^4.44.1"},"_id":"miniapp-compile-config@0.1.0","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-mb9aQpDNS/7Zydu5fsRV9NqyGzTq6YPGpTWvjyxYbFPRI2Ba9v5KwdDiBlGLJyqVPbHc9VHamalqp/IYf7zvew==","shasum":"3d47071f49c1c076c3e0f2df9b77e6045d903d52","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.1.0.tgz","fileCount":18,"unpackedSize":28852,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUJQxCRA9TVsSAnZWagAA48IP/iW4cO6Ul2nd+7cLd9ZG\n1kSAm8neh76DvZ0IAbEUY90XDfeGDF50MjXBJIkCWb7H/nbjgZuvWaosMppr\n5dj1s+Yv4ukgeIffX3aQotiH4t4mPwEjzbtwbb/pVLI0RB4HQGAmax9oPU9u\n0kEDr0cBYI9mqsAiC/JxamyrWj6tX7Nel9ss+ADXTd9H5TH9urOWEuvTvKz1\ngLY/a/6XxiHrucSkRl7LgTCul7rdGNS2DFLkAhjDZOneI6ETy6F2xOWgkkUV\nzMaE5Zup9oh2BTxFpKRmcUgztU2JKLCnASZvw/e04z2yjsVjjlXhZ8MrzZN8\nULcHLWvuSahoa0+LrYqaD3KBALS7pIrpr9/6mxSCrNqeNEyDGB6d5Jogdvxz\nSJphgt0OHVu4kQqR/9z9BSW7UyQ/fHFn7sQhIYs9uojGjqxYINYWLEvxglE9\n1al6PiML6a0q0UcQDS8YPS0hS2XnALhidapJ7VhAbDjhG6KZ1wNmMmTroAvg\nBlhj/HweN7E+INDaSeXxHJO3MNI21rV0wrCp6g8COLqQFrtwE0mmPY1q08P9\nZdmjIMOlOa4/o/EZ7TawPZMXxbpJUuwUiwQ1N/Vt/xDApkDAiQBWRC/+1/JK\nlOb/0Iabkm6fEGhOd0Nx8Vak+Y23bSs6lZz3/PKRTQF8l7GtMPo5R5O4x0up\nN/8g\r\n=kyuO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHXHWlfhXvkZ2xldPL5Dv4jy3C+ioApSHuEbmoCTrp/NAiA5Xpt/wOmHCzebfavtOxfIxT9slLQCRXJuUx6MQMxisQ=="}]},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.1.0_1599116337230_0.6413805295527977"},"_hasShrinkwrap":false},"0.1.1":{"name":"miniapp-compile-config","version":"0.1.1","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/alibaba/rax#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/rax-scripts.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/alibaba/rax/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^6.0.3","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.13","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.1.0","rax-compile-config":"^0.2.15","rax-miniapp-babel-plugins":"^0.1.3","rax-miniapp-config-webpack-plugin":"^1.2.3","rax-miniapp-runtime-webpack-plugin":"^1.1.0","terser":"^5.2.1","ts-loader":"^8.0.3","webpack":"^4.44.1"},"_id":"miniapp-compile-config@0.1.1","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-zaAdehBMh4l54+k8mXMsw/i69+0HTE8vnuBGrOcF/8nUAvkyPpcrjlHq4Uwk/+3rn0b2F6P1+ncgjuvGl22UOA==","shasum":"ba6c6c1533252040c6ab684b935a80542a9ced4c","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.1.1.tgz","fileCount":18,"unpackedSize":28852,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUKYTCRA9TVsSAnZWagAAnkkP/0wkGauqGnr0Iu3Uv6Rw\nBovw9RdClJXCHICEbyHrn5jgwGauDgH+lJGYPP5hRdKDMJachbb7b4XS0t5i\nIXICn9p1X86Dr9teiz8jsemvvDUHtJozDBFGjmdDXAjhASTwR/8x0z2+qhp6\nLRG7tBT38gzHjNasOdjmXOEtVcOy4679NcauAmMzGEF9SjqTbAY1vPuif8XE\noXggeVJk6LKESkJhEk7Q+bPId2JChkCBBth4DEN/0Zu85Q1GHt5+giSAX+Dq\nYlt+eQ5xM9zfLZKMAasSoqBcP7jsdTXET/2g1gtdLp5WhTdD52Jq5Ske/F1K\nn5/ujus6IPKSLukRl+6zS6WIBYHYGtSmPM9V6znpULS+ismA1Lb4NR8/4x0Z\nGnNpQ+pdvU3+Ndh1HBDGIg9GHweg81U+swZhFgnKhKm8HPpVDZPMT5HPzBfr\ntIjTT73KBi6mjDig+XNrJOivujbeZHfTFKQ0us1A62NMrvkezR52nTp0OBJK\n6ZAq/8tlTraq0CAxeoDiYpnTdbbP1X8JBNUnK6hiFO3RdlHjVh8w797xGjN2\nuaxzaP/qOqfBr0B/Rrsht66tap+Kt8GRGJ9jDh9yM0VLV6FMECso34rv32LJ\nDDgQxkXHD/Jk2jjAt/ACjJfyCHXPNSHQXRy0yM77X+Lo15Uv7ckiA+HUtEsQ\ngV5J\r\n=zUGT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICWm9ykkOHREPdvocn4OatqnZz8D0N66Y5yGTB1EQWxQAiA2bFBGaoCvPB7/TmRiV2ZY9734JkSZKkMEoMbeL12NSw=="}]},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.1.1_1599120914749_0.5455451568272833"},"_hasShrinkwrap":false},"0.1.2-0":{"name":"miniapp-compile-config","version":"0.1.2-0","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/alibaba/rax#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/rax-scripts.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/alibaba/rax/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^6.0.3","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"0.4.14-2","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.1.0","rax-compile-config":"^0.2.15","rax-miniapp-babel-plugins":"^0.1.3","rax-miniapp-config-webpack-plugin":"^1.2.3","rax-miniapp-runtime-webpack-plugin":"^1.1.0","terser":"^5.2.1","ts-loader":"^8.0.3","webpack":"^4.44.1"},"readme":"### miniapp-runtime-config\n小程序运行时工程公共配置设置。\n\n### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表                                           |\n\n\n#### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| babelRuleName | string | babel      | ✘     | webpack chain config 中设置的 babel-loader 规则别名，例如 `config.rule('jsx').use('babel').loader(require.resolve('babel-loader'))`，此时 `babelRuleName` 值为 `babel` |\n\n### 使用\n\n```js\nconst { setConfig } = require('miniapp-runtime-config');\n\nsetConfig(config, userConfig, { context, target, babelRuleName });\n```\n","readmeFilename":"README.md","_id":"miniapp-compile-config@0.1.2-0","_nodeVersion":"12.5.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-ZuB+JlDUwIXawjidbNEgs2ady2x60/F0JWseys31rHn5vwokzMqdaXSzbhyvNi8JV3ACpt7MBgFyL06/VtYk1A==","shasum":"3c94b7d92d3d46239bf4a94df575c11965433d39","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.1.2-0.tgz","fileCount":10,"unpackedSize":15931,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfWiebCRA9TVsSAnZWagAA2IcP/2WjccROE8enfZP3lXEW\n2V0q26tfAjivTOG/Nj5tTUaIk2QBR4j92ZqjNlbPOpHhi6mZGGrMmXjei7lw\nhpZDVC4GqoadG+k73BN8lrkhCr4owwbsGZ6Mc7Gakap0x+qZ8yb3gqR3r6k1\nwgjLAQ5erDtOm/1FwqhTaP0AOI7YuygXR/gvXvXfzzy3hHxokuusX879dfNP\noJQEec7I2E/GucjPitl3OW9ebCkPi8wdGoH1OLLVZMxezHANTyKkXuFwoxUR\nj3+Cu2elBWFtntR0rDOwW/IbjQqg+EOiDh0UPZcTplGF831kYGCaT+ewvzMt\n42xvEE2h+jJYwiRgh5pbHf3/Ok5HUeILLw3Wc9mFYDGGsboobxhZ3lA7V4Vv\n/ttS//l+BN4FvWxTR7aHxbYcBnoGpjRHXhPpDJuHlGghpnbLQezz9WgJsW0R\nXflezPWjopBZ6GQLJOJpbA5HUS2Z8QgXxFtNIHI70peIBvfTR+tUYIqQJvbh\nxEeylcCXaWi/klgeR4bpFIgQcKtYtWI072tnr1dcWOMR+TC2frtNA2ijHwhd\nUuApkkFc24VGbjtcLCQcoFrHvraiUJ6nqmablgHIyMxq7fVhsG6ntQAMRg7C\nrDm2TJdpUKr87I57m/joilN10qkf4J77mZKK2+Mf5VjVw12C18tSAB1jaraZ\nGoLe\r\n=LvuE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDG050j5BiGIGprE+07yCswghuxzFr9kymRhafHV2t5CAIgHLyvOSv14POshTPXtC7DncvhbXMCUSABv1ov1cZacdk="}]},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.1.2-0_1599743898755_0.43576649827377145"},"_hasShrinkwrap":false},"0.1.2-1":{"name":"miniapp-compile-config","version":"0.1.2-1","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/alibaba/rax#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/rax-scripts.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/alibaba/rax/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^6.0.3","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.13","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.1.0","rax-compile-config":"^0.2.15","rax-miniapp-babel-plugins":"^0.1.3","rax-miniapp-config-webpack-plugin":"^1.2.3","rax-miniapp-runtime-webpack-plugin":"^1.1.0","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1"},"readme":"### miniapp-runtime-config\n小程序运行时工程公共配置设置。\n\n### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表                                           |\n\n\n#### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| babelRuleName | string | babel      | ✘     | webpack chain config 中设置的 babel-loader 规则别名，例如 `config.rule('jsx').use('babel').loader(require.resolve('babel-loader'))`，此时 `babelRuleName` 值为 `babel` |\n\n### 使用\n\n```js\nconst { setConfig } = require('miniapp-runtime-config');\n\nsetConfig(config, userConfig, { context, target, babelRuleName });\n```\n","readmeFilename":"README.md","_id":"miniapp-compile-config@0.1.2-1","_nodeVersion":"12.5.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-HFmHajoVM8n3R0Gwxs/AaOWwqccCY/9ZaDoVogO60wwfOElWt7uck4WhnAZnyN91TwNIrTGK7y5gl4UFnFwx1w==","shasum":"52c732286854fabfa1c1bc2e4f904338ec1cf1f1","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.1.2-1.tgz","fileCount":10,"unpackedSize":16379,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYJSXCRA9TVsSAnZWagAAlF8P/2pyOq4MbGOIGOtB6lmY\nj5KEIG5h3V4nKV+/8wZHpXnyr3gUjVtMdLxlzp0O7Q8AoS+uBx7tY+iqHbpx\n4TsCy969Y5OUvsOrjHEhzHiAg/WvVmQKEEJbJ009xmUSfa83weLlSTnkplr4\nj5omMI+Dqku0cqsa9OZzyVOmurEfZwi4EUdJQKbv//zd6+LP4ohRhdhB/0o+\nlXejAyDZv/stnpZEChTlVjrE+aYcvMezRWySp1sPKa+wBvmNk16wQIntjhz8\npZYkV2NsVsFrdxussbN9/Faq56xv/u+iUqpO9r5zC+ktlRqz9vQ/xebawHnC\nGZFU5ubSgHvh36k8QrM/I3/73LuyefQw4EAKG7uoQbzW6WrHMIjmK0XUVlba\nhzwe8ics0tokmstQzIHPixvqflJ20O6d1OdUudDmWTYNxWeoii9iMOmoRLfA\nBP1t4lVi6psH7dKkvZ4by+FVzXfaKGuiLYU05vT9Tp6695TcFUdp0u/2svxO\nsZ9c9xyqlqHoOcSrUMWHXyqMYix31lBUCySdPyX9IiANrKpgfvH2G/AxqZjj\nHVH7AbBwcIFXnO0yZcCToOUamvYu2wPw2zqwMnk1vIPGfhaYf+HOguvOcn4d\nd6Vhq9m5k8lh6U8pRzAubYzqRHJkWmZPpkjCqJKFXcdWPMgi9+5InJV7VgRq\nuEND\r\n=dG/y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCD02Nb291OzR2K/MmofDaQzL/DcOGNCS03+v+o/aIN8gIhAJ7tHSCynNNzPFyAKfZ6UrM4E80G4CYk6i7FLuGdE+UZ"}]},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.1.2-1_1600165015047_0.5481727935204166"},"_hasShrinkwrap":false},"0.1.2":{"name":"miniapp-compile-config","version":"0.1.2","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/alibaba/rax#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/rax-scripts.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/alibaba/rax/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^6.0.3","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.13","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.1.0","rax-compile-config":"^0.2.15","rax-miniapp-babel-plugins":"^0.1.3","rax-miniapp-config-webpack-plugin":"^1.2.3","rax-miniapp-runtime-webpack-plugin":"^1.1.0","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1"},"_id":"miniapp-compile-config@0.1.2","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-paNRcK8ohY8Kt0dv+0Kcwwt2lbJ+TXxR/Jrv5HdJr/0+RNNl4xUspWA9TH/jQ0kjJBTZ0IQG2iV+yrzzC+5ouw==","shasum":"5008fbdc609b7eb076e46e82686d0b37cc038f06","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.1.2.tgz","fileCount":18,"unpackedSize":31252,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYcR0CRA9TVsSAnZWagAAN5YP/R2b+lBtWPB6V6LekN6a\nS9z6T6js5qpBEtwtg2L6U3PXeV4gJGBtQKxvg1bM+nwvU59ucwGX5DrfOwPy\nlu8WHbv83xABV4y4R81TbLBsKmU0lfxSH67KT7FKPTkoKD5VSRP6TZOOcvgh\nv7/XLwO8ltPk4VtZWiiITJF1cN1bd1c7Tf7ADLjnUQ2loxgiuIknTsRBZwp7\nkTDO/RK4rFUfrUTOLtu6cTYVd1XArAC/11mprradstvT+v3jIK9+C6WD1t6L\nk4GanscAFfhUYhmm68yLJti4WWja+kCyX0r8vhqk6bU5KZhYwuoiGU/oDDYM\nW1lnJ/9jLhTqm5W8HFXEGioVHpI8/Eujlnm1loVKzAQntMKB7Wqv+KJVpfRy\nywQCq5Qh+S1yJTw9ryvTB0Qp73Hn75QvFvMpREDmC2GaYVD8lsqnytfuP1cL\nOw6hwsOn94SeQuLNyON9C6czHzFEPvqr/oqTmq4aiq6MySm8n6fAZT6O7ji3\nWbnAQgIYEbxTIbp6ZwZp34205rY3vXANP+YHSFrEJxFfRgq1ZWjxC0RKlvtB\nH3B+NVgu8A+4vlCXajzLVkKBztdP+pGU5+0F/uTpte0c/6doj+RcYD7BCx8X\n6I75XpWv/Pd7tJ3BXvU8JTMSaSSW2W2c/jRULl5IWeuHqY/b1kyFkY8wry3A\nNwxw\r\n=zX6C\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICz0h0w+xvZR2ybb8Rorlaq2HwukzMBzGnb3ek+g3sL8AiBH5fpgR95MR/bus9z34oOFOKpaJfKt8kjTIQT5MYqoAg=="}]},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.1.2_1600242803697_0.09357397373810539"},"_hasShrinkwrap":false},"0.1.3":{"name":"miniapp-compile-config","version":"0.1.3","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/alibaba/rax#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/rax-scripts.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/alibaba/rax/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^6.0.3","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.13","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.1.0","rax-compile-config":"^0.2.15","rax-miniapp-babel-plugins":"^0.1.3","rax-miniapp-config-webpack-plugin":"^1.2.3","rax-miniapp-runtime-webpack-plugin":"^1.1.0","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1"},"_id":"miniapp-compile-config@0.1.3","_nodeVersion":"10.22.1","_npmVersion":"6.14.6","dist":{"integrity":"sha512-NacrcVNWYDFgBxSXRCRhJO8wlOuv2iS9UrN8eixka0w3sawFOCQr8Iz+nmddyirfZmvtJiGCC4DRKEElgo0a2A==","shasum":"51216957cf9681d22daa308c5cf7c87a16aa99de","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.1.3.tgz","fileCount":26,"unpackedSize":56987,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfhqq2CRA9TVsSAnZWagAAarQP/jYGWTtXfRi46eAPVTyH\nkPpiMgqY8DtBTwK2hbe5fyjTkhzEWeYJFpVWC/7JGaKd/ZW56XzwLHpC1qUX\nKsEEgfKsPSKNgF5n8FfaXZi4NAhMWmVgb1bU/lg91RUe3t/M3RO1EwZ8+eNv\nENrVNcPB2O8OZdrxIucxRQlh4QoTYVNLzvJ4gHg5ajj/CsHfJGZIJqGC72Yx\nZ8XUTQimN6ajv/LCU0nsSSy26pFx3KxMRB9TY0/J/olqTC25ZtlLnY0DNiiA\nfrax73EgqeDJS4R7tC6K0PDdDcKSAhUHFmUik0ue7y4HNkqoQZpP7bWj2N+n\nsw/DIdRccBAZg4P4YwyzYYWaA20gptPIybpkoQsAxP/hKdOa/cowoiJMy/wN\n7MO986BiwztBImVapDYsmTtYxwYNCu0JHQFxCE5VqfdtASwVpnFhc5s6BxFS\nUy6QwM2c9PtbPhFORVHCa3kCHgNtCb58Rm7UBDhX/gVzjBVLajnm0TlwI3S3\nAwvN+wy7wW94ncXm45G/J2bl6O05kj91/yMcRAbKeCMzPRavsGov3+Qjl2N0\nXfbx1P5EL0NTamXGi5272WZqbXY1tyKe1dUNYs3Vesj/TJThQvaYzpLw9n87\n4EtnR2Y4i5xDbTQhU+EK1tvuL7wVvDONEqK9UN/KPINUaqLrFur3JI7L1KEA\nXABg\r\n=itK+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGUI9qPBkViKd7LBswuU6GHypmomWBzO8cm4DaO0OcerAiEA2uyrDTM9VKR4fzYN4MjQYsvhfxV2tmQVGT1hs4zpjuY="}]},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.1.3_1602661045869_0.36425010488283505"},"_hasShrinkwrap":false},"0.1.4":{"name":"miniapp-compile-config","version":"0.1.4","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/alibaba/rax#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/rax-scripts.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/alibaba/rax/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^6.0.3","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.13","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.1.0","rax-compile-config":"^0.2.15","rax-miniapp-babel-plugins":"^0.1.3","rax-miniapp-config-webpack-plugin":"^1.2.3","rax-miniapp-runtime-webpack-plugin":"^1.1.0","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1"},"_id":"miniapp-compile-config@0.1.4","_nodeVersion":"10.22.1","_npmVersion":"6.14.6","dist":{"integrity":"sha512-AwJZNAtXhK3wvvG1xI4V9Dj4cM1IxFGmDYNjmMNuSjjqOHNgHvegmpdb0YnXX4tpFuFoWKGt7x3LgDGTwVRNWQ==","shasum":"4448c36bd11cac65d46da0dff3f278ffd1249f6f","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.1.4.tgz","fileCount":26,"unpackedSize":56254,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmmL4CRA9TVsSAnZWagAATHUP/2mukLAzgJDcrTWmasni\npw3OdlwFtINF65bWoF5yP9mT9jASg7S0dc96SMqxbr6L+QrHcxsfl3pXOUeS\niRrVL0Gdvutm1iQ2vW+nLc5G2MriXGlXHeXbv+HDT2DFCSYnhiBHoJZHQQFK\nR8WfriEANJVApKJ2E8yFjEYgjXEU0xrJbExL/cG6Hgq+/T39X9oRRL8xFbj1\nE0FgcMVj39E0EFitf+NNXxYFfBqdlumT3cu+gO91d2XgYi73z3NtZ2Epz8Xq\nz0qGzHbD+tS/wXjocnfUYU/gD9tSk7A5a32DfFpPc5ymveLn8C5DbkOmgBbn\nJt14KgfvjpB73ZDK0Wab0kuIcScLxDZWb3SjjQtob7Seda72Xk+Y50/WtW68\nOqVKo6POOO+Icn9lODICYQZ61fWOVLQTMgHTXzhaKeriCwJRZe7bry/AiRh/\nCLSyx0F+CIwIqBs88qxmugEB0XSAGHYKTt3g6GzxJe/CjyncoS19Xks5v3hv\nQPY77EdL1LTvSYIUYMmRRyINYPDx/AfIynh7eGMRP0v6KQbKhvN+k9/zjo0U\nE7jnRhgvLl6C5LCPCQ3ChRyq09W4qpbEgW9T5ByAHj0VPO/UGXEnNc6glCYE\nla7OOZrXcyb14t688fG/RDw/w55VNOimgeCJr7UZAGe9ljkbB3yYhWMUpHxD\nAI5o\r\n=jiEn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCHyQbVX1Z23s+vgNSqEPi3Khw/j7CNKWus9YMnnRITvACIGgVlqkAvkka9WAKvSB9kFXSeUsb5Jpu8dZyCMhN46Kc"}]},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.1.4_1603953400372_0.48714592017432357"},"_hasShrinkwrap":false},"0.1.5":{"name":"miniapp-compile-config","version":"0.1.5","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/alibaba/rax#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/rax-scripts.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/alibaba/rax/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^6.0.3","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.13","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.1.0","rax-compile-config":"^0.2.15","rax-miniapp-babel-plugins":"^0.1.3","rax-miniapp-config-webpack-plugin":"^1.2.3","rax-miniapp-runtime-webpack-plugin":"^1.1.0","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1","jsx2mp-runtime":"^0.4.16"},"_id":"miniapp-compile-config@0.1.5","_nodeVersion":"10.22.1","_npmVersion":"6.14.6","dist":{"integrity":"sha512-4bTBqoZCHkxc53Qiv+6DFCEGLtPBCy6U260DAtQtUtfO68AkR/lSJC1wBnvltAXeDKW5LGTLfF6Bu3uIslk4Zw==","shasum":"732f9a9758a48410c8980637b4a7c9c08242d6bb","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.1.5.tgz","fileCount":26,"unpackedSize":56287,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmodECRA9TVsSAnZWagAAS/QP/ipC6ZUQ5pMr4d6EoMG8\nREITRbmC5GhsOYpcqagDxzyWX1FXdTLySkBsAwbm6QiHSOP81V++1eCaZjpx\nJbPfzaAC+2QTWgxoseU7QM7XffZRe2fcCntmlnHEaUVm+x8LKk9ac2YBkvTb\ny3hbMb+nMDR+0ZnrL8fCUlNlzV1dyWMaZ7rJGNASw8Et7r7PCZFDdbFC9rkb\nRi2s7B9IycW+0SqGesq/HqUjehlFZp8gt3ZAlY/04P2Su8QMfCtW0b9U+A7/\nKlqshjM+kQZTOMq7BtNXmvbtzq0Bcx8bP6ckSL60kVmAR9eQZhr02UYFNULE\nRfMwbup5Kpptsilu6s2g8ZLMyhJo8x1SbzYbohAqh/yeere/5wBQ7TFH2Vgr\nskU7R7t0wPVaFiICAjEGBaJizFZye1pF9NcYWcj8rd6Tk1AuDlPF1R+hvqtP\nZaFznzDk3XVZGp1WJzXPvrd74BRkYDAxSk030kevepLEK9bkuGZ7CB/WqwUv\nsOlCt6nVOsr+J1dAUkGltSHgKlJuGL+vZHUYcfuBsrvLE3I8aLAigCtt1fni\nRlN7/+fkejdR2ev3jUaD/hZ7WvbLPaZsAUuCgB2XX8nik6p5o913/0y5jw6m\neToa50n5y079QlGlfUlm129ND6B52c68R7IoxRnL88mxlHWR32uXs68QKkdA\nffzQ\r\n=5Wz5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEpQoD3RemxrtkiJewScMsZHNqH1+miuQDThbn88/WF2AiEAtpF0cQuHp9INgcs+i79heK1NZgoGo8TXeAmTuCFGKFM="}]},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.1.5_1603962691854_0.2201262849810548"},"_hasShrinkwrap":false},"0.1.6":{"name":"miniapp-compile-config","version":"0.1.6","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^6.0.3","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.13","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.1.0","rax-compile-config":"^0.2.15","rax-miniapp-babel-plugins":"^0.1.3","rax-miniapp-config-webpack-plugin":"^1.2.3","rax-miniapp-runtime-webpack-plugin":"^1.1.0","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1","jsx2mp-runtime":"^0.4.16"},"_id":"miniapp-compile-config@0.1.6","_nodeVersion":"10.23.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-ZFG7AsK0vPTQ6IgxMfkCChNQg248A30oK8nHkF8hWAb6+HFF7FO+g85l/3cE4D/LBtpdHKlF26xuCf+SpUt8ZQ==","shasum":"01923c9c352ef2102b76157a629cc40d1d4942e4","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.1.6.tgz","fileCount":26,"unpackedSize":56059,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfrNuTCRA9TVsSAnZWagAAYw4P/07ucBu9xROorEr4vWw8\nPWC6Vj5vIkcv5LbNKLgX2tNviGlp6/HBGk0CX6aPQE3NRsA/OO+jKhy6joA0\n/VCNitPWUTxcUIBN+15q61mCZd2oz+/JYzU0MzwG/6x7Seq4IETxjmG1ljiQ\nquw50Kdkwn28+1cU6sqciG7g63zIGlp78xsAmemh13YfByZhbdCkAozOKOFZ\nV3zWEpI6CIPLRYJDFzPFxuRXINBgVJUHkqomxFxbWfYOhzyFxKiI+pZP0tby\nUXdPFjOLabrgyd52rb9bFpaacQ2hqfpcLCKunYMFR4K3Jw4HEVVLNay1J2wS\nhNyMtr/U5Bq+ZQS+yYxXVcoueCFSqIOAa6onCBTdu0gwG9wfx/ryCFxmC5XV\nHS38mq3SDzMnAoSQ+sSLu4AHhwipvhg7/SKD+kekAa0hSLq3o+cjIdvB4qRn\n1XR3qk0ERVzEivbrUiivdadUZGxsPD+J1kPNf0G8MhNWNlNuEBgkLwwL8+4z\nqwC2cdJKYhQMdIM6DoP15mwv1MDbFJItJ5ba2d3cXme/kk6iYuRubUfqIPcr\n2h7VtXI5vvLPKBOj2f+ZpLxwi+BviLEA3eepSfbopznnvEU046tBGJqydT5v\noH21Xee1MI9to4n9cQLFkIKfhXzyiB5eTNpnDe/Qrpg9PkK7h3g12P/rODz5\n3Y9O\r\n=jNpW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAGbwUeRJvhElzcvwX5eF2pPJ9qEqCTzvnnnL9POF+3MAiEA7mKSBVEv+ts4Mm5glwIpC+dRACH6fW9m7O7WjScz9fs="}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.1.6_1605163923254_0.3677180801461293"},"_hasShrinkwrap":false},"0.1.7-0":{"name":"miniapp-compile-config","version":"0.1.7-0","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^6.0.3","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"0.4.21-0","memory-fs":"^0.5.0","miniapp-builder-shared":"0.1.9-0","rax-compile-config":"^0.2.15","rax-miniapp-config-webpack-plugin":"1.3.0-0","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1","jsx2mp-runtime":"0.4.18-1"},"readme":"### miniapp-compile-config\n小程序编译时工程公共配置设置。\n\n### 方法\n#### setAppConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| onGetWebpackConfig | function | -      | ✔️      | 在工程获取 webpack 时触发的函数，可以在 build plugin 的 api 中获取  |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n\n#### setComponentConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n### 使用\n\n```js\nconst { setAppConfig, setComponentConfig } = require('miniapp-compile-config');\n\n// 应用\nsetAppConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n\n// 组件\nsetComponentConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n```\n","readmeFilename":"README.md","_id":"miniapp-compile-config@0.1.7-0","_nodeVersion":"12.5.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-eN7el1Naeb3u40KyMVqwqagpFBHQc7S6sNycKHGDd7msvdrQ6U+2uGpAUBJ/3b/VFV9G1xFBUiTq+CCVEXPXBA==","shasum":"9da123b4d1a724c58ef5f67fa7f6bffc93c12a3d","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.1.7-0.tgz","fileCount":10,"unpackedSize":18719,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2KYUCRA9TVsSAnZWagAA/BAP/RtJCIRVRzuGnh1kWFXN\nnLGrUABKz50KdAFC064jVpudqSFOfXC88/+J2VhPiYcz551cWUB0iZElm/ZS\n+3moj4jWvpE+uFxJVb7kGGjrw6/BBp7IHiSC+ZjGFOxTLjbX30fhq5s1dJgc\n5yxHOu5ScCKwxDFkp/21L26TBU1RVkKDQwFhgETKAUe9IGV2fHTSYXScOtpw\naofj4wEHi6PtkIWq0b85gNnZ9qswnBcxKQhx3yvnc6UwaObKB7NE2IfUlmDr\nmtOpznoI2nuN1Cw1t3Ah/wVI0HI5abD9DP6qSrvX3aThv3h18BYbvUEa61NJ\nPEwqaw68WW3jpbTOd+PkrU6gW2NXyGqHdaWuXxqEKfLrqfg6Jo1scO0feDBs\n4B05LqXD+jsG/GlE7FQf52hzWC7g3yD6XJIoQ4ZyBqoB467ZUxS7f7mY0DrJ\nauv4xj8N0T2v1PACuHNSsga9A8AnnXn598JqCs+cfcITCK0Do3OlxBgL7rYH\nykhPHZS+pzTq6UUBRKDm8DsN2h4sTC8LL2vZzORmOvLoeG0HiaASEgKGtCNA\nu/Pvrl7J6aJAw2JOLY4i0C4S2sXNJ7MgS+9LDwPpjpzELqIUBdLUZZJf5lJS\nKeKCud5YtT8DGgdIPfsN5DMaR96q0k0VWbz0wrYFfexbE6NuDgI+Q6VLGOHz\n2lbx\r\n=4BHc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDiVnY3brFEzNmBbhmi5CtNCNnDj9bptqsLrxkk5SUHNAIhAP5dvsiEG4ESeStwDyCBu5fk17/cU6ZuveWyT7PPdn7x"}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.1.7-0_1608033811914_0.9928696997682509"},"_hasShrinkwrap":false},"0.1.7-1":{"name":"miniapp-compile-config","version":"0.1.7-1","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^6.0.3","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"0.4.21-0","memory-fs":"^0.5.0","miniapp-builder-shared":"0.1.9-0","rax-compile-config":"^0.2.15","rax-miniapp-config-webpack-plugin":"^1.2.3","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1","jsx2mp-runtime":"0.4.18-1"},"readme":"### miniapp-compile-config\n小程序编译时工程公共配置设置。\n\n### 方法\n#### setAppConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| onGetWebpackConfig | function | -      | ✔️      | 在工程获取 webpack 时触发的函数，可以在 build plugin 的 api 中获取  |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n\n#### setComponentConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n### 使用\n\n```js\nconst { setAppConfig, setComponentConfig } = require('miniapp-compile-config');\n\n// 应用\nsetAppConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n\n// 组件\nsetComponentConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n```\n","readmeFilename":"README.md","_id":"miniapp-compile-config@0.1.7-1","_nodeVersion":"12.5.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-C3Bs+pRN+Tzb7L8NQ+zCirJ7+dXPmxCNmKiOn9GI99Qemp5qbvUyI1jJMAySBp5Yt85gaknnm9/Iln8FUCdGZA==","shasum":"8eac53ea9eb6d648438dd4b958039f2621c9fe8b","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.1.7-1.tgz","fileCount":10,"unpackedSize":18990,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2tPcCRA9TVsSAnZWagAAHAAP/0ALBNAqb0ephAF+NVh7\nw1vUd5AXRgyAUPD3P2c134niDbnCcBKWVCnucdaR8v1t9duHJWjNSQjHWNaO\nJ1L0BouGHnyZGFUWOcXqTBd7Xw/+PTZ5oVV9QF48YjOCSWI2X56+6NI07bWY\nqdhx1oLVV19eceXO2C98Xj9j1G2aUPMk8tG9rHlL31XScgD619heItTehxJt\nb9QHZ8xOY7l2sLoaGukDtqoxb+WYLqejDrxBcv5IhBJNWcjQIKjkub2U1g6O\ny2OXmQIK2PUW5qkr22i9AZodR7Bg1RbVsjIsCLb+cYUsbsftGWYWSOIYbK5u\nkpG2ozlRVAq0KvHZD5AWk9hGl6Ad/BqIjtDIXMyVEBX3Co7DhQLRPz1zqc/I\nshoibe5+kbOXkhfSa0nA33+j5ehcK+WXFUqTYFgH7do16devA5nsPIXBlOHG\nSKBai6GQG5obcMMuodvSzq1p79N6f2yXoJardF8W+0AZ18RhBdgQGlyLSSSK\nTdFEPqqoSvTOVEaNC53pcdbKmr+iVW3L4OF0RDVOecmHBNGOecnx/2IGAbim\nqK88wjbDb0c57NUAZG2YA6nrIZXWXg02VpgvEzHNXZCoi1f1hSmaiOr27DNI\nEZZM3VPl6/unao4lpMgBdwc1NWch4+peEYS+bo/cdV/K5jAeJBWTgOZ67R7n\nJGLO\r\n=T9x9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGhBmUjQ8oN7Uh8daSweo2sgli17oihqn3pHjxxKOl+QIhAIjD+wKCjbh0XeV/t4bfZzvYhFMQ4WE06X4K9eJy8Fhx"}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.1.7-1_1608176603600_0.006369371116691669"},"_hasShrinkwrap":false},"0.1.7-2":{"name":"miniapp-compile-config","version":"0.1.7-2","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^6.0.3","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"0.4.21-0","memory-fs":"^0.5.0","miniapp-builder-shared":"0.1.9-0","rax-compile-config":"^0.2.15","rax-miniapp-config-webpack-plugin":"1.3.0-0","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1","jsx2mp-runtime":"0.4.18-1"},"readme":"### miniapp-compile-config\n小程序编译时工程公共配置设置。\n\n### 方法\n#### setAppConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| onGetWebpackConfig | function | -      | ✔️      | 在工程获取 webpack 时触发的函数，可以在 build plugin 的 api 中获取  |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n\n#### setComponentConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n### 使用\n\n```js\nconst { setAppConfig, setComponentConfig } = require('miniapp-compile-config');\n\n// 应用\nsetAppConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n\n// 组件\nsetComponentConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n```\n","readmeFilename":"README.md","_id":"miniapp-compile-config@0.1.7-2","_nodeVersion":"12.5.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-PKc313TZkMrBW2q72asoXeY7+FoBhajQnJ146Rn105Ubwsy6INrnVwrSccVm0N2hq9k1iFZ/8S3GED8Sg1WP8g==","shasum":"0e41aee6b601ab0a5834fd39a94f3e24e57b2670","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.1.7-2.tgz","fileCount":10,"unpackedSize":18991,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2yC1CRA9TVsSAnZWagAAQkoP/3maFIFy7wChcT1w46Gw\nh8tuqNjCxzi+5VKklWeXRO2NZ6F/ptwD9kunsEDifLSisOAZLaj3qWUvNHcs\n6mhqhnU4Hy97hN6X5qA1+Nq6GPWRhzv9GPtDQgO5hmalY2y8IpBbaGqXF9V8\njfEw7TlvwojrO+o4RscV4wywD+i0UqSuU8G4TwufPoVAYqE/higwW3iLIcEL\nDDwV2Q+RaXIJ8Y1FPTwVixlCuYx/90+EleMcHUewB8uYBgHGWRL/HXv5aSph\nT/vcBaPz8LTJwcOBwFOJdHzi4d0z7vR9WPoY1QAn4+zSLJsx6ZISWPL0wQSW\nQ4cfdEBfUUHCB9a1muSdgffiWJoQ9phR7wdobX+HAhnXQPiaeUjS2cH+4Ond\nFBpPdgiM+jM5QHr3ADs4wDzRrLAq9EiV7GBQs3hkuBgAISGAFlUdkItkV1/h\nRXejl6RztxpNZOB+5p/6XVywGYepKCBsmzGXr384nwb6Kzn3Ajrwdy7d59lL\n8zyNI8jVR9iySp5xso+ipcsZZaP986+9I1IIEV+0hbfRxXOCH/9wvxGlhFw+\nLOC4ecMzDRy0jjlHC1chH6MFSONLV9HGVXoo/VvDSyRhsYVp3LwHyOtqitCY\nJfCoEEI8J8Ca7Aufx95G1dqYFiMzuRCCb6ZwtbMSkWuuROWhUY6qmM/20ATS\nFraP\r\n=FRm0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDqU8QgByb4F3DtMim7HbVloeW9gJS80C/vSNvCjCRc4QIhAMItmBDOaAWzFVS76G6eYM//3MjJDtEdPHNaXMKU5qnW"}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.1.7-2_1608196276707_0.7671014144271711"},"_hasShrinkwrap":false},"0.1.7-3":{"name":"miniapp-compile-config","version":"0.1.7-3","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^6.0.3","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"0.4.21-0","memory-fs":"^0.5.0","miniapp-builder-shared":"0.1.9-1","rax-compile-config":"^0.2.15","rax-miniapp-config-webpack-plugin":"1.3.0-0","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1","jsx2mp-runtime":"0.4.18-1"},"readme":"### miniapp-compile-config\n小程序编译时工程公共配置设置。\n\n### 方法\n#### setAppConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| onGetWebpackConfig | function | -      | ✔️      | 在工程获取 webpack 时触发的函数，可以在 build plugin 的 api 中获取  |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n\n#### setComponentConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n### 使用\n\n```js\nconst { setAppConfig, setComponentConfig } = require('miniapp-compile-config');\n\n// 应用\nsetAppConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n\n// 组件\nsetComponentConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n```\n","readmeFilename":"README.md","_id":"miniapp-compile-config@0.1.7-3","_nodeVersion":"12.5.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-HBHVjDphMJ8dsbYFQs5x8XDQ1KQKcW0r0LLAcuz38XWxFKIAlCLE/JYT4ypWmIdcCKxiK4hZns7Pa+2pgeRq1A==","shasum":"4b06e088779a226124fe3f95b773b66af2760334","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.1.7-3.tgz","fileCount":10,"unpackedSize":18991,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf3ErfCRA9TVsSAnZWagAAcEEP/RAI9CuBdqUlHlvtVoqp\n5POkt4Tgb2NGWVfuqowq8IdEjqirRPRnFJvDSHpJdrIRH01g4rLw/u4PBu6B\nYUKpoomfdxpZxwmZdXqJ8FcClIqe0Iw6HcfGJ6xoXwFsoA2GKEwmdFzlTuBu\nw4s8TTEYXnS5Mc2SgY3NAapEkplPGtPOa/bz27ogKpub4Ppq48lhhMKro1an\n8351vhOZfXYwOJXgZ2KyJQILX1m7fsupGwgSjY0q8M2dSTaa5AUmI2v6e8aA\n0y+L9GWr528JWN5yapTPBDxemxwPr1Pgl69NL3byWeVAXykafTCMVAIk5bOs\nivJl8pNVNLHNoy1knJBhmOM8dKgEh0oTwKBOtgPgbsb3ERRJeSKbGQWbFMX3\nu74MAetdorGZ+toiLvVC2UoJogyo3NyGRpJyQTfsMo4CnCGeXbL8BdU1duwl\nWleV88Oi9P99brbiyPCbpG0ZOEL6QBOFlEKyKsTrPTL3A7ALZ/GkyhdXR18L\nIvnUDB8rd+sSN2WTeMGayitMM1bY0iqMCfV+529lxWGSFX8JLwaaV9XPRThP\nvDGwtCxIluutv9KRPK346cTN4+LqX1YDgQ8zky4+uYz8A9NnY9p1oq4xz9ac\noPB+4Doy70MBoRrjkyRTwj7Jk5kNvJhhBfjiUfg0WcbeAQwMyfob4LvqXQc3\n5Yd9\r\n=KYqI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCox3Zr+AzIFi/f8a3+EJ2jYD4yaddwA13wosdVYdONewIhAK/i5ORWmrgjEajOuL7hEpBjAyRaDKFk5XHnO0gTC4rk"}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.1.7-3_1608272607301_0.42451482939253493"},"_hasShrinkwrap":false},"0.1.7-4":{"name":"miniapp-compile-config","version":"0.1.7-4","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^6.0.3","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"0.4.21-0","memory-fs":"^0.5.0","miniapp-builder-shared":"0.1.9-1","rax-compile-config":"^0.2.15","rax-miniapp-config-webpack-plugin":"1.3.0-0","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1","jsx2mp-runtime":"0.4.18-1"},"readme":"### miniapp-compile-config\n小程序编译时工程公共配置设置。\n\n### 方法\n#### setAppConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| onGetWebpackConfig | function | -      | ✔️      | 在工程获取 webpack 时触发的函数，可以在 build plugin 的 api 中获取  |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n\n#### setComponentConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n### 使用\n\n```js\nconst { setAppConfig, setComponentConfig } = require('miniapp-compile-config');\n\n// 应用\nsetAppConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n\n// 组件\nsetComponentConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n```\n","readmeFilename":"README.md","_id":"miniapp-compile-config@0.1.7-4","_nodeVersion":"12.5.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-QWthSTnCcFUk0Su2TFF7oEPWpPo27S4DqvCOlreDFFwZsXCb5LNcI24vCV5d/1rfL5AyX3Et2sMfdzZUuAm0iQ==","shasum":"f85302a4adce2bdcfd29c732aa9cc6c04f40862d","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.1.7-4.tgz","fileCount":10,"unpackedSize":18740,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf3GznCRA9TVsSAnZWagAA9vgQAJzQXxA3nkIhj6ntyBZ+\nkNQA1bIhvrFHCR//Sbonc1K/UzoCMUTRdUQ34rBaZCd0FsjvmaUqIDYtPxRi\n2TkEgfN4A9C87vQthJDcmzaiHE1KKWpglfxQMP92zEmkPpZ7dkZSUP9Ugv3M\nuhT0sZJuaL2iswOm+GRO+RjyUsA+Tm0r9vHuQZ386ZF1TGOTldLREJZw09Ib\n0iyhyNVopGY0LNnmCek5Vnp41nJT1bKWx+jC+xvcOgRfsaTek03s2BWxKObu\nUQ2mNAk/E05QE82wAfQCfvrAf3hr5T80TIXapDx/NZpAd4HrnOqm8bhgh02L\n4kZ9Pq8u6HFrRcp98avMjEx5WzKpArua3TA40xaq3/iCdTmdaQ3Jw6P0kOEx\ntksDc5wDy/0fTj0Nkf/bv5rTtcNup8D4K+gplou03dMSe7PJmSNy1nmlf0po\n4fOo4NsEVrUO7ZM/md+D9ZBnb9av57KuUP7M77nipVnABzvLTWUNP0XrIsvG\n5hJWXCns3rPminV2dehshNkaLiO7A/PBVjgQTClxYEtTb22lwAhIWSyG7UWE\n5jxE+uMXISnwrRLGa9B1WfSpQGZCSXTo93lgji2tLVZF0tE8SPeDYgHHBYAD\nPNir9yr2opCS8iEciDLezPx76RDR2Snw7jTZ4bIfAmDs4tofb+XWhta1N5db\nQ6rw\r\n=2EEZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDA3Co0/oZ6Olf/rb2h9xn6TVIG46lBPSUoHZRNl3CS+wIhAPMfd6vBOWY9gUUtsoLpCrvRfJN7LScqaiMVZUc+fc7f"}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.1.7-4_1608281319334_0.7783750987063471"},"_hasShrinkwrap":false},"0.1.7-5":{"name":"miniapp-compile-config","version":"0.1.7-5","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^6.0.3","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"0.4.21-0","memory-fs":"^0.5.0","miniapp-builder-shared":"0.1.9-2","rax-compile-config":"^0.2.15","rax-miniapp-config-webpack-plugin":"1.3.0-1","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1","jsx2mp-runtime":"0.4.18-1"},"readme":"### miniapp-compile-config\n小程序编译时工程公共配置设置。\n\n### 方法\n#### setAppConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| onGetWebpackConfig | function | -      | ✔️      | 在工程获取 webpack 时触发的函数，可以在 build plugin 的 api 中获取  |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n\n#### setComponentConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n### 使用\n\n```js\nconst { setAppConfig, setComponentConfig } = require('miniapp-compile-config');\n\n// 应用\nsetAppConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n\n// 组件\nsetComponentConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n```\n","readmeFilename":"README.md","_id":"miniapp-compile-config@0.1.7-5","_nodeVersion":"12.5.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-hJ5OPknmMElgjDt9iEYFnY9pQBt/MDQoQcgQDxuziREQRwmH15AecyyjPfrjxVW38Vq/HBL/B5l77oeU9GzfKg==","shasum":"1bbca56081ea51209b87ee51c041135638608344","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.1.7-5.tgz","fileCount":10,"unpackedSize":18761,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf4B0sCRA9TVsSAnZWagAAp+oP/1o4z+Lje3oA6AZyUgHe\ncDIT2tOmPK14YSftQ9GHqjR6A3emg4Im1IJIR8CZeFtO5WKugf2AoTr/Yomv\nIWTlJbb11qybZMEbC0ctI6VbhwMX5aPJD1ghXONn2pw3N4Gpt2cg3HQdeFUG\nKzxsr/jYX+f1efbT9wwD6AwiEMla5Ab7skXwNtSkR7pGNkH2ZAIrqx50/R+r\n96Azt7IjsssYVRyhhpd9ZPjYyB5jPQAEYvh7VICH+TNwE63VGVsSRagdgjXq\nYqj6glzH8Lj/ssg7AvrkqKL/EOkeqzKT9GVY6fEKEVjdtQ/zEFX07D+/ok0L\neVixBgREb9bSdn8TQeygAArgjInf+3tBEEXOLQV4N2PAbJqjO11KHgmPXvkJ\nWS5W4GNt0GEJ0HU5EXMRd//rVXC9JXuS6WB9WS/C0lVOJc00KyrhgTzQL1eO\ngcrsSbtjxOdAe/CNMjyEw4FVfDzbOOwVA9XuZ2qlj8U2F6iT4jDK9SYBvkaM\nQxl1O7aDc1v8UfRYCjEbOvcEED1O+xNPZ45INWqxAB0/0lAT3OYw6dsiqg7u\neUTEyhu83WR9aBB6vRYk9pAu1ROqS2vgAfs7c8BOh9i6ZzRKZBDgb75J4h+F\nH+Y7JQ03DZ4Ws4bGHgAyytO4G1DihSg1LnV4uEBTq/WITgORBuVEDUbqrpov\nO+PA\r\n=EpeQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBX8ZPCD6tOK2Q0Du9totOjARL9P7/EDzRCI3WMg+fXqAiAsazh/kDUALflcy8wr2h46671174qjABZKqI5kWqxm8A=="}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.1.7-5_1608523052080_0.5640649109570026"},"_hasShrinkwrap":false},"0.1.7-6":{"name":"miniapp-compile-config","version":"0.1.7-6","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^6.0.3","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"0.4.21-0","memory-fs":"^0.5.0","miniapp-builder-shared":"0.1.9-3","rax-compile-config":"^0.2.15","rax-miniapp-config-webpack-plugin":"1.3.0-1","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1","jsx2mp-runtime":"0.4.18-1"},"readme":"### miniapp-compile-config\n小程序编译时工程公共配置设置。\n\n### 方法\n#### setAppConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| onGetWebpackConfig | function | -      | ✔️      | 在工程获取 webpack 时触发的函数，可以在 build plugin 的 api 中获取  |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n\n#### setComponentConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n### 使用\n\n```js\nconst { setAppConfig, setComponentConfig } = require('miniapp-compile-config');\n\n// 应用\nsetAppConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n\n// 组件\nsetComponentConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n```\n","readmeFilename":"README.md","_id":"miniapp-compile-config@0.1.7-6","_nodeVersion":"12.5.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-R3HRN5+qIQc47fNueUUvLODs05o/W6iMqxsMegZ2TDMCAj8P4Eys+zeKXL4rji6Dl/aXh6mo66S45tiXrTezSA==","shasum":"53122bf8e2e2940f78e8b3592de5fac6fe336109","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.1.7-6.tgz","fileCount":10,"unpackedSize":18761,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf4uU1CRA9TVsSAnZWagAAFQ8P/1Y7Bop1VoYuIGMOkyey\nb5s7BLopwOSSlQURET6tJwqh/+05IS2k7Zjqxmqtr6GYMbxlpoUwh80GpPV9\neBJDLYNNUU0OsRvRtZye1viOetg4Twl1sRcpE1X1PiyObNGDjtViTN88BeKx\nFFVVAV5FAQ1xF8ythBM36K/6IRVOcudce1bo/Ox46ch+cD93kSBNRy9ruh35\nWUUSCh8shQ3UrPUI1h4yEcFP8kNtsGF8pSkOHYnohX4tBSA7zW5dWJqFV3u5\nRVQw1bxqqWky6FNcPUa/wymZnxw5e8D2BnuuYykiUcCZ+i4Th15wq5LrsbjZ\n7hsLQ4oWs/zbEVJYLl94m1fRd5up/AYPWIMJdxdE3MnGn7nZwHJgW69kHu2M\nIPGTPH9JkBYkUH4ufIWp8YbzHR3ERPT3tVHRwnuQDAcTAhWUsbFsmlrFWhXH\nnmHeaOgdNF25Ifhla8Jcqnyt8FKeHtPn4bpNt66I6awz/2I9w8jyHfBuP0Rv\nk1kD3P4eK/C6dOvhVyLJM8UBZ56n2SiogGiUUAC/r+5aCTjQLBF5//OU7J9c\nszS67hAxXvHp8KXo3CDPve2ioNdfT6Xh8QanZdLk6EYdlh1SCi4nJ+P4bjgW\neki3wKb28VR1GR7n3wB/0eX+prsrqpeWo+gDfLTAaDu/usloFOR7I5H0c1/C\nF3fH\r\n=gCK9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDr5VKKhzJGq45lWKzbzJEy+aPrvz/CrauXh4tDSuu6cwIhANdLxbTaZehQ8i5ZEBU2QRZD4SGRuy2srtK8j19wR9U7"}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.1.7-6_1608705333005_0.21444667786875038"},"_hasShrinkwrap":false},"0.2.0":{"name":"miniapp-compile-config","version":"0.2.0","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^6.0.3","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.21","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.2.0","rax-compile-config":"^0.2.15","rax-miniapp-config-webpack-plugin":"^2.0.0","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1","jsx2mp-runtime":"^0.4.18"},"_id":"miniapp-compile-config@0.2.0","_nodeVersion":"12.5.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-zPOD9nattgE/monUaGqQ8Tssrvykze4F7ai58OXpOhgHSXdEhYei3XJHCI3T199yxWmxkGpRN7lFFOPruPRX7Q==","shasum":"8b68cebd70165aff4b77742a1f1ed043208d4f1f","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.2.0.tgz","fileCount":10,"unpackedSize":18755,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf5Fa+CRA9TVsSAnZWagAAgVIP/2/mV9crfxb8qvhjF3uF\nR03JV8fAqjFjC8o8fsy+TJw5EyciaDtvM1Xhuz7XY4wMX6wOfjjTgOEm5IYh\nWqIGFZYxnKgKSFU5xNMfWMV4m/w7UkCGJ1EQOUzz66VTef51uTqmxYcGrVmR\nsc3N528QHwYIVj/i9icRv5XgolxsM9Dqy7t2KylvLbV6I3946/E3y+BPW4A3\nkEsaKhIrotdnNb2UGgFmIMtaO3NCCzTOHclSZgnzbEWK7he4Nsn0N6akVFIM\nXkPfvQ8CynPJS7ER5hrvcV3XUky7QigPBacizLjIVtAMi92p1/onUn+eiw8H\nJrCypGqiBIOtZuYG5GPRWku5dzDRYzrYMaHyVyTqRmIVbWPtR5Hr2cMOdN+0\n5NyEk4XfISLw9jepUfWU792dwjbNg3y1OmQvxMcXf1qJopBOkhf/+wfbLUMI\n8mHkbXz8y+SicSb1xzdVRnEEbaTbO87Y5W0DWInfSWkhW6XONm61IoW01Qmu\nccDHnKzfyrB9YluRdrhIISLfrPqhvE8SYp6fGA3DSBkEKPi1o9USuLsipeVk\nc/QYq5qTTAniGeu8vcxVfi64fTsrMEbDUSA/F0vfis3gPdqs1SGQmusiqWVl\nRx5Fgi6tb/V3SMcWym2PvHCYw74+XtATJbuJFNjyKbEzeZnekHwPiRIxCAnZ\nxGTq\r\n=rW8+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMG6QOewXz3U6pIzGSUtWNzX5WgEP6eOSOHTFFxtnpFgIgWmdQHjwwROJp9BGRnVA76dq/ivPSXUqrJmhDPPkW/3w="}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.2.0_1608799933746_0.21681176932658808"},"_hasShrinkwrap":false},"0.2.1-0":{"name":"miniapp-compile-config","version":"0.2.1-0","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^6.0.3","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.21","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.2.0","rax-compile-config":"^0.2.15","rax-miniapp-config-webpack-plugin":"^2.0.0","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1","jsx2mp-runtime":"^0.4.18"},"readme":"### miniapp-compile-config\n小程序编译时工程公共配置设置。\n\n### 方法\n#### setAppConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| onGetWebpackConfig | function | -      | ✔️      | 在工程获取 webpack 时触发的函数，可以在 build plugin 的 api 中获取  |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n\n#### setComponentConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n### 使用\n\n```js\nconst { setAppConfig, setComponentConfig } = require('miniapp-compile-config');\n\n// 应用\nsetAppConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n\n// 组件\nsetComponentConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n```\n","readmeFilename":"README.md","_id":"miniapp-compile-config@0.2.1-0","_nodeVersion":"12.5.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-P4D+axU/b1c8n0ooyPpf++NboBfIy6Yz63ZxhTcQnHYU13M1pqzym6HVDalLWijh31dGQGlQhWrJ6NC6AGIQpQ==","shasum":"6aca97b3e3466db71291466c8ff5b25725be71c7","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.2.1-0.tgz","fileCount":10,"unpackedSize":18844,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/qNXCRA9TVsSAnZWagAAIrUP/0IOH/J5P0+vgMHkJvF+\n2c8lU2tkrT0cx0pCoc4s5hovP3rTQHNV2NXbstIZ2ZhBL1dJF8MpdUb0Uy0a\nO7yL0UHUl60ErD3OYiDdGYarVfhIDqbKqKtnBNM0LPkpgYWN6z7fglWdhFWb\n0R+Xh+IP4QfJ26Ru1gX72PiFky/9aGRwRsKumJib9VxAe9g3KPU1azNBfs+W\nlSqECxUX/VtfGIIzcxggOlVgMHz5OWjOzPBKgTPHqHYUrOf0C28+UPYhzYjA\nXnuYngANu0MOUfXqlFmDgwh/Wk45TbibqRCP35dqxPQrqKC2CEWy28LTr5LD\nie3J9aOb5Qr/NsVKFsH+x3+guy1HqOMi672/iZ3pdo2MhiMrqMbESbGT3jDz\n5PkM8MbkRT9fNGzjhELBMQqscRVf5TMZSEySNoxKk6uRIOgnppb/zM1/Qn1O\n1y0UWeO/ouQCnm8kQYwbjqSst7XYAteXhFTTc3d97sfrUnwG7XKtvfqd6mYw\n3gW9JHeto9ofugUzKfvZYqoqjdypTzfd0Z2mm0gzpWBFs/h8UM6sAJWcBfbl\npKFT5YSHoQjmNgzBhoQ3yqa4y+3o3iWllfLR+XrKkSa8G8sShfyog/3YboMx\nSskWHOeZA1RdvOiMtafIt8DOi6t/Eo28vyB5A970Bnk1c3buF/4S0NkFLXLd\nIK5R\r\n=0FHr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG2ZZHA5de8RJuhVSyAhQ/nE+w5swgNFFoqVNpm+VdgaAiEAhBrrNFb2TZG3Z8NhzCrj6C0Dc7k0leliaK1i4WckMYU="}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.2.1-0_1610523478837_0.7374703139565122"},"_hasShrinkwrap":false},"0.2.1":{"name":"miniapp-compile-config","version":"0.2.1","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^6.0.3","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.21","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.2.0","rax-compile-config":"^0.2.15","rax-miniapp-config-webpack-plugin":"^2.0.0","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1","jsx2mp-runtime":"^0.4.18"},"_id":"miniapp-compile-config@0.2.1","_nodeVersion":"10.23.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-NWNaMVeidIHUFkDDUqhOy6dCyUAH7CK7S1pUXrBqgdM9G4VNMUFgkYX9fZ6Sb/gi/xmdr9bPVc8a60mTqMnEoA==","shasum":"581b6372d6f02f5d4a8e6678fb29dc8b59c87f40","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.2.1.tgz","fileCount":26,"unpackedSize":60870,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCTgWCRA9TVsSAnZWagAAglUP/i+DMT7nVKVixacNlhp2\nh+R+RP2OqjnwlROEty5P7xevTONvP1uqTcqFMBElh6ZudZ7F7V5oNThTpqMn\nRIzM8+c6d1lt7RXRycZSOduiiaPjawhSIFi+Nqexz/NT4fJQCjxzWAQ7OdSV\nbfqfzEXu5jMzVzq+P9Rg2waBHLMJhJPjIfUjau7/njNumGAaq1bJXuf7lFTr\nrydluN5ZmGxdyDCK6BpTTQjU34pUvZmhqf4jD05/Z3FauT0oaWLQqowHurN2\nM78DiIaj/Az3JJgMIv1BfgxF6yBCVJ8mOoRv4TxYGZKTagBpNN9Vn0EtKGeh\nv178QvUN/nrv8YA8SslyKe4Dl6XORvExK6BTwAAvowIov9zeNEnDjNCBM8fY\n63lx6U7oHJ8w9JYds328GjdcUE5yjTwBifOz+sy17OJejFs4Fbgzomm0lLSJ\npeqE4suaKUpariwj8EAsgJ8saXOBCLL3Bnzl1QkmVDvg8wsqZyd9/Shwpvn2\nG5DUlx7BfvUJIOuQyo5bn2W176w8AVRlDxBr5wzP2rJ8Mu1ZeSFuSolDOT6l\nyRDVedLLiMDBaoVme8Wr5nzlJkGJruCHS1U80r/0tSs11DEaF2iG001MoOnp\n7a5RVSHoqeN/pi37iTX31lDktkxYY6atAv5TkArQSdSn4BdunAIqOrXlS6Bm\nB++5\r\n=UaBz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCL8+kKplfaGnE2DXOinaIK0slk7RHaQdntLurcaIME+QIhAM2kPgD4EC1nOkEVdaewtLzeMXVui/ZchQJnQDUrXi+6"}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.2.1_1611216918185_0.6403121627188171"},"_hasShrinkwrap":false},"0.2.2-0":{"name":"miniapp-compile-config","version":"0.2.2-0","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^6.0.3","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"0.4.25-0","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.2.0","rax-compile-config":"^0.2.15","rax-miniapp-config-webpack-plugin":"^2.0.0","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1","jsx2mp-runtime":"^0.4.21-0"},"readme":"### miniapp-compile-config\n小程序编译时工程公共配置设置。\n\n### 方法\n#### setAppConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| onGetWebpackConfig | function | -      | ✔️      | 在工程获取 webpack 时触发的函数，可以在 build plugin 的 api 中获取  |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n\n#### setComponentConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n### 使用\n\n```js\nconst { setAppConfig, setComponentConfig } = require('miniapp-compile-config');\n\n// 应用\nsetAppConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n\n// 组件\nsetComponentConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n```\n","readmeFilename":"README.md","_id":"miniapp-compile-config@0.2.2-0","_nodeVersion":"12.5.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-lRzCfBRfz7BPpQrbAezmYdygpruiU4ubqG/RcyMhmjdsT6v2af/DMoVTAkVNPCMWJN9G/yGkcL/mPNRd/tTYsA==","shasum":"2770cec806eecae4fddd68c8a094cf81ebcbbdba","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.2.2-0.tgz","fileCount":10,"unpackedSize":18890,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWwtLCRA9TVsSAnZWagAA76EQAKG9kqBJrFj4BCqpRgST\ncmWmsLvriZq9KXK6otjRBlck9DhpmL/DE1EEp5VwcBBkPpbzCuZdyIlbyDO6\nVrSPSnNDnOdQkM7GUTNItsUE8wA1NN3rs64RBdXzZruHdi5LUH7VKo9+ViFd\ndBCJqDvZu717z9JagnMRS/DObcH0EzAx/HwUKU+3eQ6I0CPUvenzeS7WCHRs\nNBVtXuBQbaUlgxcDWhFuHYBdszUYSSD4WOUELaUuKPA/QqP3Ghcav0/JntDd\nT5B/CjS+jG3RY+xNvVP+6Ywj6Bj5srPEhCTIeygtgQTjkuMBXkdHV1MHWz7E\nQ8HapC6hGyeCeImufUXaILRNNOFoW74joCBUPmFxwpi9aD6L0pNPIZsyUvZz\nsYMiTWwHqPdxnO79W2c+rph0MTb64Y6o3bd6kd74bYltL2fZrmPu48I0FkoR\n8W8cLORbBtjMSoHD7XUyJM94yveBBQPmf2Rbgj/wMSVgntYKqMjQSSO7cgoN\nxiKWMfMIVxmZi+19wezaCS4/MfcwGtTNrKazWScBfe3avs0rz2GK5iDtv0mp\nPKUh77gNVAkqudxMRR6tuG7fQTyVpBCq637y6gQX6JVEqtIVwfutpBN1lkUb\nc031j5rU5Jk32cF/EqU4hfGS75n+q8NYASReTaB52jXlmymHtObs/D0g+ptI\nRDUg\r\n=7o+/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHJTjk414CU+iTFQF1zHsRQzTrdCq7M+t+ObVX1//lLJAiBhgpoLrFY4/G1yqfmmbJUPDHUgLWrweb3qA/H91IH5Gw=="}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.2.2-0_1616579403062_0.5907130253795787"},"_hasShrinkwrap":false},"0.2.2-1":{"name":"miniapp-compile-config","version":"0.2.2-1","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^6.0.3","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.21","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.2.0","rax-compile-config":"^0.2.15","rax-miniapp-config-webpack-plugin":"^2.0.0","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1","jsx2mp-runtime":"0.4.21-1"},"readme":"### miniapp-compile-config\n小程序编译时工程公共配置设置。\n\n### 方法\n#### setAppConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| onGetWebpackConfig | function | -      | ✔️      | 在工程获取 webpack 时触发的函数，可以在 build plugin 的 api 中获取  |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n\n#### setComponentConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n### 使用\n\n```js\nconst { setAppConfig, setComponentConfig } = require('miniapp-compile-config');\n\n// 应用\nsetAppConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n\n// 组件\nsetComponentConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n```\n","readmeFilename":"README.md","_id":"miniapp-compile-config@0.2.2-1","_nodeVersion":"12.5.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-kXZ6blsbC5f1gHwYLeWe7hjS7yLIipZhx23P7RxWY7cmdQfy/7GR8SOOHBFtr19V3pcEXzFzS6XVdTLVJIDVjQ==","shasum":"e14d1ae4d8e74203f0acc20fc875f026a9cd1d72","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.2.2-1.tgz","fileCount":10,"unpackedSize":18888,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXUZ7CRA9TVsSAnZWagAAjOoP/isOgTLbyccMlK5BC5gU\nbMOnCAzkDZKety1KEBNTs2htxxZnPo6sSTKX2+geWmuPvZUmx1JZBlm0PDgA\n1tbTlA5kTY8GViZBeurtEZC2aspCSlm6Ns6/dMoJk3W0qZgYunEdWij0Uz0c\njD6+vWboj1H5hH7jYo5xtXszfyxejgHmH/nXgD6giTq4k3EJNf/tKaVIB/yJ\nAhdGQK+71DfhYFdc50lP9Ag0rxm9plgF1nP+XUnEXJ0fhiMdmCwdV+i/p4BR\nJgMb2FhRLcbHiUwc4DSMeK4NUmT38t+T4fFYPqczsg8wlLi6cu/DVTFHz3PD\nxaJjqg2RD1Hi0JbSqKfeYmv5NAZUtrTGe5JQzXjmyljHTED6Wl+YawX3bgAo\nBdlR5LmopdF03lr3ORpfR/iiIubXxNqTzQ9WemI+ifjDRooZxtnTD00NlWeT\ncYJefyDZ0JF8gjdX32EcwloeKEE4qNIJpGvlo4ZWHhKs3uTfO0LKqYPkm8dI\ncLQ0Mxglo5x8D8eMX+vsnPHTxou2JWHSujs1DzEpQR6f89fUFbOvGnJ5wOoE\n2Uz0HCnoBTeFyhb+sioD2f1WY+C8PO6qA5vAlMA29cE12uVaEt6x9eDOVMYw\nz9e+olzs/uIxn9/rmDmqCTPx8mt/DcupNuOeF1lqgxPVb9pVOUd7UYvBaqz0\ncN1M\r\n=tNQA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnGzwVeNz15BLAkenDa85pdCd5F8HzqDMnZj/FJ0TD/gIgOs92yBjea4PjPut7Q+HvUUD17Gs0sPLBwwIdAfQcEmA="}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.2.2-1_1616725626711_0.42696839466736747"},"_hasShrinkwrap":false},"0.2.2-2":{"name":"miniapp-compile-config","version":"0.2.2-2","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^6.0.3","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.21","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.2.0","rax-compile-config":"^0.2.15","rax-miniapp-config-webpack-plugin":"^2.0.0","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1","jsx2mp-runtime":"^0.4.18"},"readme":"### miniapp-compile-config\n小程序编译时工程公共配置设置。\n\n### 方法\n#### setAppConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| onGetWebpackConfig | function | -      | ✔️      | 在工程获取 webpack 时触发的函数，可以在 build plugin 的 api 中获取  |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n\n#### setComponentConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n### 使用\n\n```js\nconst { setAppConfig, setComponentConfig } = require('miniapp-compile-config');\n\n// 应用\nsetAppConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n\n// 组件\nsetComponentConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n```\n","readmeFilename":"README.md","_id":"miniapp-compile-config@0.2.2-2","_nodeVersion":"12.5.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-8suNCHBoDcQWDqvPX7g8jHnAD8LnECnlAJ6SPpTJT3MO0TfTK+CugpRvvuJra4RekP2GEG/4Q0/9pjJ5vqvv5g==","shasum":"63169046947cb01a274b574702a83c05daf46756","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.2.2-2.tgz","fileCount":11,"unpackedSize":19914,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYtCJCRA9TVsSAnZWagAAN2UP/iPjiOi8WJgDDmFQNteL\nJ3AgY4FdPCQZQR67yFjgiu8iXut1c3c3gJlsY1iUKRA/hd4T+z+9mkwmYw+L\nQvoZUVdlA1pnwe7ZZO/uXeJYhwJ3WD4W7nkaxB7xGpydU1eNxTxK3V27Z0sT\nleVLrJUTGbxhptDQTeCdfZHS7UnsWzvL80nNfD6qCa1xjtQwXH7gyWkxHF17\nPxJ5Kw9JjE0pBUO4gqq7ruIajut/imjPUD+7dIeHX4pS2Tnx+B2KSy3gGjI0\nTXegCmg2y0K8fqhS5aBSFEFeEhrexB549LKtRYZONFCrvgh3XaXolGPKY7Ey\nBMWpQxkRJpisr105rRoznftXHGRUxysVfdpIhC0gQxBSTcazjlA7vBkedRXh\n7U+87BuzIoHUxoHa01sPBAtLBR3sxAZ35rChRFCUgi2c02kKJlVXnmyECVNn\n5wG7wQthMHcW157PRtRp7I+ZsD7KmKUodxu/ZTzd7MsFBQTiDMT1zz30NPDf\nuhnNzXEHsknyPC464jCwzZRZ9SJub3OWapLl/FIjnNmYYviZPjh8UuubOdLh\n1x4Fdk5C3WXIVHA6MdlNBbdup2DmYovr08INQH4O7VxOyZFgOGrJzWHgZ5mZ\ngYgNTHZAJStldcvv8putIO57a3vF8QC8dyA8/U02+/g1GHtqafWnE0P6t5/T\n4PMH\r\n=eOJN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTjk+IlquYspufzyeRkEfv0J3+XCr9AzSwJyxb8SbuhwIhAPiPemRcRX6peIXub5KxxqcDCFWsAIINTsg57agxN7fF"}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.2.2-2_1617088649113_0.22515390465804952"},"_hasShrinkwrap":false},"0.2.2":{"name":"miniapp-compile-config","version":"0.2.2","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^6.0.3","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.21","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.2.0","rax-compile-config":"^0.2.15","rax-miniapp-config-webpack-plugin":"^2.0.0","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1","jsx2mp-runtime":"^0.4.18"},"_id":"miniapp-compile-config@0.2.2","_nodeVersion":"10.24.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-n/PsN8XSS4bZZUcspVJcX0cojfPxWtlahcLJYeYKgfSlAxnHLlp6F/oIH4Nqpkq3XarTHmGsG+N0yLaM2F8G6A==","shasum":"0d8f128f30080e4da6ef488a96417cb7f16b2d05","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.2.2.tgz","fileCount":30,"unpackedSize":68608,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYuoGCRA9TVsSAnZWagAAxHIP/0Z52A4WEbygGd8gb+Vj\n1zFwoh/FYgyaqiS7hSRKNddAzCP4Rfexh5sVFYidNm37FWVGZzdNVG7xGn5P\nzvRG4VG1KZiVNXgipiF9nML0EljwKuwEVqjuWqQJBUwu5CJpj0qS2d0pZbas\nF1BPb6ntRydu4K+1saCQqoqXKMYHo3tK1MpZjJwBtspzUkorFL3QNG+zriEl\nsvJnbTrysX+KpTVExriJCL9uMEZnWrWMSAKQhLxBQb+oLpGwWDSwQzYzAm0G\nX+/GNlkv4ttWAv/jcsCAxUqNn2M4uGgOBk/OQ7MPchm13L29IDxtOfNCTaQG\nz/yih/C4u0SYqqWul/Eo1vmLhl5BRtcEjwYtvGjg9Tl7NWORltWitDLvFTpF\nFcCMSl+cgOAWxdUcaeylWvyFG8MziJ1D7KQmcSgqnVyXSFIZYBQSTDVKF7eP\nOZIfiWN7gDBWnMIbg4E+2q9fSrRWRAlk/suuzMFQZqL+lJpXtW2LR9/KnRPX\nrnqj0SAKWYbHhj3VADIwnnyaQInxGUbAiDXgq05mNqU7NTZnbJ8MON18zRl5\nT/DV1Bt3RkVFoF4ngDkSi5Cd/gC5bo136JDBHXKPzIXNx/Ji2Q83eZpW4sp5\nV5UjJEXjQ6XAfC9mnFhoGCXbsbtziwzqxTma8sjmjAdAojugpXpA5nndDz23\ncsMH\r\n=DQk4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB35Ha53dBoICmNi1ImjHWf0NdBTHbGn6y9PwqOIBejXAiBLP4/K23sW2L9NYb/btmlW63D/tgQN056h/D2xtQd+HA=="}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.2.2_1617095174118_0.6538023170496912"},"_hasShrinkwrap":false},"0.2.3-0":{"name":"miniapp-compile-config","version":"0.2.3-0","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^5.0.4","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.21","memory-fs":"^0.5.0","miniapp-builder-shared":"0.2.8-0","rax-compile-config":"^0.2.15","rax-miniapp-config-webpack-plugin":"^2.0.0","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1","jsx2mp-runtime":"^0.4.18"},"readme":"### miniapp-compile-config\n小程序编译时工程公共配置设置。\n\n### 方法\n#### setAppConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| onGetWebpackConfig | function | -      | ✔️      | 在工程获取 webpack 时触发的函数，可以在 build plugin 的 api 中获取  |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n\n#### setComponentConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n### 使用\n\n```js\nconst { setAppConfig, setComponentConfig } = require('miniapp-compile-config');\n\n// 应用\nsetAppConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n\n// 组件\nsetComponentConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n```\n","readmeFilename":"README.md","_id":"miniapp-compile-config@0.2.3-0","_nodeVersion":"12.5.0","_npmVersion":"7.10.0","dist":{"integrity":"sha512-SixSf6+DAYw5QfrF+5Ls2R+H47bLlL+XJsrhxZv7xsQ/aw199q26HLXDAxePfjTU1SttN/J+Fegkal6GP8J6rA==","shasum":"ab68de3e99fc9cd5cec34f46e73ddd9a89c7e1e0","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.2.3-0.tgz","fileCount":32,"unpackedSize":73594,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7WDcCRA9TVsSAnZWagAAxgYQAIGzSqbSGCsmZCRg4ZTS\nEid0lwQtvLZSQ5GJeOJxIP2rABOa+UeFTTAEVtt/frekuXLC521TmpbJqssU\n+FjC8VYIAuvK3FbcG/PwM5FUlQsPwHVSgrDpAUEdYWKv2VBWT0FmkOMbnHHg\nHRSE5vN99rWb/MCILE0fIA/0stLQMgZQj5FkXBAs30cCOBp9QAtTYl0PohFg\nohGOP9Ka3P9HBp82zlyX/tyVBAki6wkyb6SeU4WDe1QDYJTORK4zoEEetguv\nqNf5KassZLs4+qwrNU1AfS3JF7I/L24+UxuoWWLWmpia2ofZ0+KckNy8PXiP\n698T8Abchj2Ct9GFDiMBzX5bkmPccor31ZyQmJW9TKXTtah8H/PtT1Ph6+8w\n469Jl4x12DnB61Y8RsFt5JXzHg52GLIljDmTI9+aHOW9IVVATOwWifnP3DQY\nkBSBGuQwq4Z4/A2QhaRsAmXUIalqBL8EVoVb0z+dcuc0GldAVTtzce+Ezx1k\nioFRTBabX0BRSc3s9bSUUyuXeKtH4fcG8F4+dLUUb9qmDXk1XPZaJqEXAbfZ\ncUqsNOyqVs082utQM8rgJzwhdDnhxVWVFnSv7UGorLZjCH7xpOXew4uhX3z2\n5l1mk8DCH2wfNbzRVP6TtSg6d+rf6wwUgFCS7UAMaAhq/qjsXTb7a4uXNNeD\n0lm0\r\n=pIbE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGBdIg+Hasc5mwKxzaOUAbOC0guTXoHiKp+SJWjvUwevAiBL48NpYOYeywpLByPDZihGX2y162A8//rJ2QzgHkLkEQ=="}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.2.3-0_1626169564210_0.2426927170000599"},"_hasShrinkwrap":false},"0.2.3":{"name":"miniapp-compile-config","version":"0.2.3","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^5.0.4","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.21","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.2.0","rax-compile-config":"^0.2.15","rax-miniapp-config-webpack-plugin":"^2.0.0","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1","jsx2mp-runtime":"^0.4.18"},"_id":"miniapp-compile-config@0.2.3","_nodeVersion":"10.24.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-P/G6LShb8NbD9vK82lUDxvCkTLqXzFnYTznyg126FuLd9L1ZUFMNxm7OXKxCvrUZXRvds827gY4QLw3HvAITmg==","shasum":"bc9c56fa715c661289de787fc07910fe1a2a3812","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.2.3.tgz","fileCount":36,"unpackedSize":87053,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg9onDCRA9TVsSAnZWagAA2t8QAIcrQjPVzqAflpb3Kkgg\nTx2dCNUH0DxfeQGSWhNOYQ6eKSBv7sPGOIETgk2ARYI8sZ1LCGLKvgt8w8Bv\n3gZNlbyvlWnrZo4xgEx8UNez58KKtlNC1hryGkUo1GXRC1KH1zp0blHIAFGy\nyAZwIAIjze4KK2RYmLJXasqvVOKx5Igbma2AvlpIrR1XKTsVFbB3jtGFg55h\ntYKZgBe5d+Vb7D02ie59JaSc5qox3eSR6PmF5qVamfNO6ZNNLWgQvH1eiDv8\n48Qwe9hMfIkf72JeAMxeB2AwKBpTgAzsgUoF4tDlpYFLgkuFIjO9CH0Sylu1\nc7ljUCTcCw5DASBI9wPly+KcBrnVv4HN9S6AKpjE4cWbCF/Yp0yhxC39yhN3\nxe7i6ZJt4PdO/8SttjTDG5n/CbVAnVYSxWoRNKq+u+cWUtqzyCxV1U11ZNmB\nyJIzVQvsgrYuhdUV3J6bpPilBimNojEHj5Mwod4NMteRqLKGneTUDE0viw2b\ntwfp8Y3PTRtUUo2j1b6d1UGgtCTS7AZ8nxzLt/Rn4RBB6pkPfSIanr7s16MQ\nynq/+eL8JaF0dVbdXwSZao8t/p3BiOMVlIqXeRTHKnGfHNI4I4e1dBEmQ3XN\nwmI09eX6quiud+ksQy3+EZKqvdBzKl1uXBg6+J/bz/e5w8Hy+ahq9e0ZK2Zn\nrS6p\r\n=UKaw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZbz+6So/aPUW+jfgH4nBrs17pxF/7Pcc5jROMi6fq7QIgXi54gvzVCJfBJaqVIrnRb/qshJ+wIeXPyMCKzREz7HQ="}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.2.3_1626769859238_0.249847759156842"},"_hasShrinkwrap":false},"0.2.4":{"name":"miniapp-compile-config","version":"0.2.4","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^5.0.4","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.21","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.2.0","rax-compile-config":"^0.2.15","rax-miniapp-config-webpack-plugin":"^2.0.0","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1","jsx2mp-runtime":"^0.4.18"},"_id":"miniapp-compile-config@0.2.4","_nodeVersion":"10.24.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-53wWcNMlBQXVBl1m4W4vJpAVNfCgG7b/DKB0ytSnl3bc3HiTb+ddZqn8OxwzfpXGEiFS0wzWPDv3VmHpO3U33g==","shasum":"f620b31919da7605af499a074e81b26b436b3e52","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.2.4.tgz","fileCount":36,"unpackedSize":89353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhC5+XCRA9TVsSAnZWagAAZboP/0/Twt7mm7uOeKHv7HPe\nqsBrZMswfDxWl4XVcMjp7ijkcguDX6fUKTfkRZNcZtW7vzux4oDAI7laS7Py\nzApxfR8qV9Mcp8bo5UBMwrgGiGacw99sYicggwg0tNI15z7yvqswhx/HiQz7\n0OFp/EYiPdIRsw3I24mfFalpp5tVxP7Pa5oU/hynAm9NF+jFNCFok9nbk/YU\n6L3ZSBRbCIJFjjTFZXGKafNafXKXL8YOm4mUfeN9ilUKrFINlVXvYimT8Zda\nasleixZVpfToya5rBxIz8jha301cJb0EAXUYiDKxo1e6KRA0IPxf2pjllkYU\nKqToSKW4yIby8VR45pDeISlle/Q7u6GsU4+MhV5ivxljoVTtvBUY+htbkreE\nrYexZ/daUQEa0dE6OkCvuPuUePkU+usEKLT/c3ndpyzqc938SSvPViBsAxgo\nuZygtDXc53NSh7dHDPmTpb9PLoHvfW8XQFcGNL/mKcsu4fHPB/fpapyagZTp\neYkzCtVNHroBXYSC032eDbOf3pN0ACVJ5VfIElgFMhIlzc+4pIUHf36mXI/D\nnPbcoRc459WmthrO5x3S8gooamW7Cde9fk6Gdm+MJrlxlHgXMYCx54uCcOp1\n+ZcuC2qxaXFSIVK4u3u5aZdhIQx5gaWEzPBnjKCnwiCozKzgByt1po1h+OUG\no6DF\r\n=C5Ze\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICsSPlL9gT770gX1vnAHZMYxxpDay7R90Db6vud7pESKAiA3IVU48SA9oeG3PT4ZmUkl/SNEVMH7uilDw6I4IosG/w=="}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.2.4_1628151703100_0.1670670275399615"},"_hasShrinkwrap":false},"0.2.5-0":{"name":"miniapp-compile-config","version":"0.2.5-0","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^5.0.4","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.21","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.2.0","rax-compile-config":"^0.2.15","rax-miniapp-config-webpack-plugin":"^2.0.0","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1","jsx2mp-runtime":"^0.4.18"},"readme":"### miniapp-compile-config\n小程序编译时工程公共配置设置。\n\n### 方法\n#### setAppConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| onGetWebpackConfig | function | -      | ✔️      | 在工程获取 webpack 时触发的函数，可以在 build plugin 的 api 中获取  |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n\n#### setComponentConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n### 使用\n\n```js\nconst { setAppConfig, setComponentConfig } = require('miniapp-compile-config');\n\n// 应用\nsetAppConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n\n// 组件\nsetComponentConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n```\n","readmeFilename":"README.md","_id":"miniapp-compile-config@0.2.5-0","_nodeVersion":"12.5.0","_npmVersion":"7.10.0","dist":{"integrity":"sha512-+EaQFStYdSxKuJ3KvPfA5RMb1tRG7XO2fjp627q/kwZnTb5mh3YbgLlzPwxYFASHHPsRLgVcyS38OL+Qh2QGqQ==","shasum":"551ae40ec1a364f18d2a4d0d4f00659c5c693089","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.2.5-0.tgz","fileCount":36,"unpackedSize":77659,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhDKF+CRA9TVsSAnZWagAApSAP/1S4M9QxYvJAiobhTian\nMje/MHhPrwQlRY4MNu8Gbo097Mnf1JIhmhMNvZhfv0mwtqSCiQoSgBSg+T7n\nAa19HjoxpUc/0nGKOoTAFgC+HVZ/X8Ig3gS/ZekCPMLXqfpHRy1YVDKhgFZE\nhx8ulaouUpzP/3vCoNJRVN9cLzVoDT+o+5s9AaBr1bAOa+FCcwghEogFgpuI\nb6qZpEApsALHyJi8Hg2iDG/bV5USAz7Z9QxcpL/aA8eN0GjdqE5EAx8vNcLS\nNz+jWZcdaOqIb25I6WWJONlFwXDVPch/U0RKizkZuqAQ8NvhBh6/BE+17IN6\nBwq7UV33CM4AeCUItO+s7pYdDGuIBKGyfId80CUouljw+XqP+zYXb5lqhgyZ\n/SZFd/8emBjqasR2kK8ZCc5k78WkS2W7mrxHpaCBHd/XM0YdmUks+SAdbDj7\nc1+yraK4bU+5hl9YvBorDXURFheu1Ldgv8PXyNqlusfP8tfgHV1+g00o5/Pr\nyTghWkqdaTWAJBD5PBkv4gWzc7LZb9NoqLK3jiQIeu37PXSw9ZSDcNF4UktB\nBeBNNhTDbTutSfYHX9ozcHPL9lBtcCvgZLdj78ZsO/WJhu0m02011ZH07LrI\nlSvpytaJ5INpYfp3DYzaCERZ0ZW74IqNIg8nbKE5H40QYmYt4IkLnv2Tybfk\nNatP\r\n=NW1b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDU9Vkmc6A9kh7VUne0bUw2CF5s02t+FyyKKvUxYeXpyQIgR0S8rgvHqwfqLE60j85H+lXudWClmSoAavRM92f6BbE="}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.2.5-0_1628217726406_0.25790946416711136"},"_hasShrinkwrap":false},"0.2.5-1":{"name":"miniapp-compile-config","version":"0.2.5-1","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^5.0.4","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.21","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.2.0","rax-compile-config":"^0.2.15","rax-miniapp-config-webpack-plugin":"^2.0.0","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1","jsx2mp-runtime":"^0.4.18"},"_id":"miniapp-compile-config@0.2.5-1","_nodeVersion":"12.5.0","_npmVersion":"7.10.0","dist":{"integrity":"sha512-RhEFCe5NFLYQyAVlMVTaXiHurJahVIUKCCZVG2iDvOdIa07I7jYKe4dkaPiJJr/B7JuurAQ9X9KXjd9VHYBWNA==","shasum":"79f2a3ea3a1488535f9a751b5ddc7391c9eff2d2","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.2.5-1.tgz","fileCount":36,"unpackedSize":78246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhI18mCRA9TVsSAnZWagAAt1QP/jRteyG+GLBax3uzdk6q\nGZBKPjf5ZrqIgCxsVt1gksuqg3rYJ8fIY01UPpM/SyLgnxZN0421XIXsDh10\nghkBotMGxWd4a8jNWQPMT6eZbsSzN0K5OhsHF02PEzqIW9Ag+wp8gVrPlr4q\niMGCw8RwhyqQI8ZmLDnXV6zkFSkAhfL/MkEVQZDUX9iHBbV9W1ZegMxkQm/5\nBZhI0d/4XpEAqvdbTJl0rJL3/Xzcm1C9inRCHBl1QNzY9aieKILGjHSKnbhK\nMb9YQMQE/fM4cmle3sPugzYnSPWqt44yJDUhXkSzMg+iavYymFIv67vfPRI0\n6vdV7GFwCKAd8S/FXJm946q2MatA9OszrXjvxudshiawrFRZnkxgmT+Wim+g\nqLYbtP1q7BlurOSBE3ViV8Xc1Q9p0KL6PPggFcqFEJnazJKbyglYbvTlY0y6\nY38TMvYXnqyzk7UYEkV7Mu8Zjuzn2EZuwuqds2CCMXeU6GTfFLaWPvGJADT9\ngL0FSmGh+Ec6pFj4nkhkBE10pJs+NrVOl8Qyoq3oXVIVlrZXv2YzSCPm6UzG\niqPMZjvl2S3AvgBOMsCBGxh19AU/03O+bzWEZr4+31TmrwtqcCeJw0XXZfPX\nUq1Oql7TiswVJYYo0F6PpINz3h6zhTaPFWu31joYfMh4HNq2TZSQIhZtNVeQ\ng9St\r\n=MbOm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDmGHtIJRMktkm+iMDlgfotS8ReYSoytKI7kJj8yziODAiB3lj5yA0iSV3TrPyPMcqAUEEpf3NMsaRgLr2KtgEXjLQ=="}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.2.5-1_1629708069972_0.19793584539929054"},"_hasShrinkwrap":false},"0.2.5":{"name":"miniapp-compile-config","version":"0.2.5","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^5.0.4","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.21","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.2.0","rax-compile-config":"^0.2.15","rax-miniapp-config-webpack-plugin":"^2.0.0","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1","jsx2mp-runtime":"^0.4.18"},"_id":"miniapp-compile-config@0.2.5","_nodeVersion":"14.17.5","_npmVersion":"6.14.14","dist":{"integrity":"sha512-cb7yKePJQnoyLnFg7nvqoEbxHl6+bnAzuxc0Sy9Q8iZ5+aKW5TbfSusVy/s1g8KsgC+pcGagqxFi0Mxh1M+TaA==","shasum":"7cded56ca1e958e963417bc9c4e20646db98a963","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.2.5.tgz","fileCount":25,"unpackedSize":47490,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhLdmQCRA9TVsSAnZWagAAsioP/1aM2DLwsmWKqUkowAZe\ncvHNzBnPMg5bzEUJABhUdSt1+oVvHo1jjK7lN8ygpEXtWJ5P2peLySNre3Yl\nTzssafM+ILiRbaYHdnchxiH8Qn18epmD1dKJ3j4O7bmKBZg8ACdcCxNQDjNe\nYpsgeWiqgSAkX8yrDZk68Mt2mnZOLe1VLdBVni9J3eCODSWDjqVHLnq5bSnx\nx1LVpLbh0MIGfVvJhfV6l9ycP6hFykLi+kDRMF6eEt4p5nar7qYFFOSkfsfV\nFBegtTgPB5YicI1dNCOI99qeegyZOc1RKGH2phyrUcSpGrFTI6kmFz8uG9Q9\nVAVXruOnOXJ6bzEtUaNIzQo/0ILydojiM7Jp0Ge/Bfj1HWq7zyznwE03WZjW\nW5AhHpwRZHGZVtJa/Fy2bu5xBpUJ+MzmJZ4Nny/clfxVJnQm3SwDDkEQH46d\nw/FsQTkYxZVjsOR8A8YUmd4ctiwso/K/igFCWzrwPC/z9briic0PEJQLd9R9\n38VGw/uxC7ViFCtZsK4lpRTxVtdWPPmWzexArI/UB+UU3NvTiqZFX+2U3xGW\ntxRffdwAyTUxvsLrpjyi8g8b0to3MZqZP9DjBJ43LEETzD0AADx4SHNIS8Gd\njLxizqrkUWVQMd411oYPGlHseda7Pac5eyVADPO7LEpd/ERmXK74rnnOrCD9\nGvSK\r\n=qAfR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBtR5J5TskTs/Fz57gK7tXa1/UdrMcqPWiqRJ2wtAdmAAiBJLThqEON8VPRV+zxxR7kQ7JD2bXxMfi50nZuVp0+gOg=="}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.2.5_1630394768497_0.3099456432405865"},"_hasShrinkwrap":false},"0.3.0-alpha.1":{"name":"miniapp-compile-config","version":"0.3.0-alpha.1","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^5.0.4","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.21","memory-fs":"^0.5.0","miniapp-builder-shared":"alpha","rax-compile-config":"^0.2.15","rax-miniapp-config-webpack-plugin":"^2.0.0","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1","jsx2mp-runtime":"^0.4.18"},"readme":"### miniapp-compile-config\n小程序编译时工程公共配置设置。\n\n### 方法\n#### setAppConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| onGetWebpackConfig | function | -      | ✔️      | 在工程获取 webpack 时触发的函数，可以在 build plugin 的 api 中获取  |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n\n#### setComponentConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n### 使用\n\n```js\nconst { setAppConfig, setComponentConfig } = require('miniapp-compile-config');\n\n// 应用\nsetAppConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n\n// 组件\nsetComponentConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n```\n","readmeFilename":"README.md","_id":"miniapp-compile-config@0.3.0-alpha.1","_nodeVersion":"12.18.1","_npmVersion":"7.7.5","dist":{"integrity":"sha512-MCgmA56cCZz5T2iEREEYIxREPxvyPnRB2HEsbGA91Nt5+AULjk9xyic051wu+Gmu/bJCXL916wPHS3nf0RbibQ==","shasum":"121c6360e0219e5e527af5a09e98a5263ce97d75","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.3.0-alpha.1.tgz","fileCount":31,"unpackedSize":69431,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFAOizdykSqMVXszVOqSm6zQdZoN7njzVJxWpcymhzFfAiAFt+cYN8NItq6ZU8GVBizEdAtnphfI1KCzxIjuMWaPKA=="}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.3.0-alpha.1_1635757822794_0.15168989799652755"},"_hasShrinkwrap":false},"0.2.6-0":{"name":"miniapp-compile-config","version":"0.2.6-0","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^5.0.4","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.21","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.2.0","rax-compile-config":"^0.2.15","rax-miniapp-config-webpack-plugin":"^2.0.0","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1","jsx2mp-runtime":"^0.4.18"},"readme":"### miniapp-compile-config\n小程序编译时工程公共配置设置。\n\n### 方法\n#### setAppConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| onGetWebpackConfig | function | -      | ✔️      | 在工程获取 webpack 时触发的函数，可以在 build plugin 的 api 中获取  |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n\n#### setComponentConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n### 使用\n\n```js\nconst { setAppConfig, setComponentConfig } = require('miniapp-compile-config');\n\n// 应用\nsetAppConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n\n// 组件\nsetComponentConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n```\n","readmeFilename":"README.md","_id":"miniapp-compile-config@0.2.6-0","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-YdMM0cwmX/R62YXhHERP/QyzSr1Y1+89807pYmjFcfONP0DdqIUXftOc5usCkZ6BvixjdAPTSeo0iDIZsDGZEQ==","shasum":"a8a61e86790cbdb614df51e0e048ea4692928340","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.2.6-0.tgz","fileCount":36,"unpackedSize":80677,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnbxlCRA9TVsSAnZWagAAh7MP/3BB5uSdaBtW1Fjm5mUY\n4e5/WLz9KRO7DDdnC36pV8RLSf4/DubKThSdrepN8THla5FFqfsg0Q9e26Dn\nN+ZNwrXXwX4fa/1sC7OrVxl3WPvfkCNMbZIAsh3mDvGhw9QK1Fte9/PJ3M18\nKzaDq6NslJT0Sk7dIkYDeFdNyI3YoDwZnnJlK78zwBaRBKOM688myIdGTgVm\nweSC1YllifstI1XokjuRSrCdqYovZfy9vB7onwud+Z3qUF6C97EaI+JDY8EN\nD6Okx/ZrV6Wp5twwcxw63hsdDwVwtJWRF/SnwxrZlL3QGe96ppxKdhpUqVMr\nUKaDKtYuxdp+kzEQ+74sX/Hj8zNUgemfboXBbSPjHvOrA3EfeCL2vzYRrLP8\nJ5uCFitiIfJ4zV6KF4nQOSSZHccE2bW+3deynxY5Zl6tgbYxuGmnUIABVNcd\ncBnEOt5BhM1QwNoqrIJl9i+Q8YdjJgZE5erAlaglx+3OoM1pkuel051wfJaQ\nykTKKCnXx9hDAmgA0V+ngv/j+/wISKgUi8VYTIVDDXl0c/G7NGHU6gSYF3xD\nPmkhKlzO/T1wJ8ccgIsl6ITp1xlYgfUK96YzovRVo3QcteBB5dax2rnwudhO\nIgD0MwgdoPKfXRs0uP0qdBFRKZvvKCmAN2Il6EUpI5fAAKeCVCR5Mu7ku5Ti\nthad\r\n=K911\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCt9AmZGSnY8MYdFwB1/DpSxPQSooxgmYLqolh0P2yRfAIhAK0fk9d3WXxI9hAf0qZvkHYXHUoMLObMSElmHOIHCtpu"}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.2.6-0_1637727333204_0.3727984002256457"},"_hasShrinkwrap":false},"0.2.6-1":{"name":"miniapp-compile-config","version":"0.2.6-1","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^5.0.4","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.21","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.2.0","rax-compile-config":"^0.2.15","rax-miniapp-config-webpack-plugin":"^2.0.0","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1","jsx2mp-runtime":"^0.4.18"},"readme":"### miniapp-compile-config\n小程序编译时工程公共配置设置。\n\n### 方法\n#### setAppConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| onGetWebpackConfig | function | -      | ✔️      | 在工程获取 webpack 时触发的函数，可以在 build plugin 的 api 中获取  |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n\n#### setComponentConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n### 使用\n\n```js\nconst { setAppConfig, setComponentConfig } = require('miniapp-compile-config');\n\n// 应用\nsetAppConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n\n// 组件\nsetComponentConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n```\n","readmeFilename":"README.md","_id":"miniapp-compile-config@0.2.6-1","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-/bhMfE5D+IpDoS2aKCoOTK/8SN2alATtWn2AvI3YeiucL1t3XW8Ve+fbK+qQj0YycqssAE3XTX7QRwLevs9DEg==","shasum":"1aae4bcf5b7cc6b5cfee66bc5881abff4b053e16","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.2.6-1.tgz","fileCount":36,"unpackedSize":80787,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnvzVCRA9TVsSAnZWagAArAoP/RvfDj6rYHtCRxaoGTLl\n7nXjAuGgsWnIFxCkl8qcvFR+14THrIvbT0AjF29aiIcxRfzQXcJmkgAq6DNA\nfFhesB2ZbZ84uA6V0mhkZd85TizO/6LfFue9Evss1a5KgsH4RsNLLk3WClF8\nEFVCeHl5QoGhI3+xQq1VkvVe8dFO0gZGYv9Z8z26JqWurlB/hI6vm2wH/0ff\nHGikvvVoAiV9LfujRg+OvO3xDC3/YLZmGBxRuvOBWhDy9uPOXjBHOg49UciP\nrrN/wFueIAEKRq7Rk9sWTWqG6wTLajqiLKZyEXO2+lTyLGLGdA1TGjpiPG+L\nFJf6li+Ov1JawNwKQO8OEEk5pt62BDCLeJaF2dOmIyG8UQbGAEBH2+0Y46k6\nXuWwiRKQVyKNKJ5nPlH44jkpK2ZAbnurNioUvCM0oSDz02Xo7Y2uvArG4eEr\nOhSAjr0FTcWncUQphMIM071n6PlPrbDcVFyrxqJb6ey71A55VWEMomQnOXfF\n0bs6WhUrzVlLm2Yrd3dLKXvtvNHJG3zrxZp2mvvJaSaAzLFIBzadFDTweN1l\nkLtW8jLl7VTK6lPfuOdpyRjrrS3yPhza2j4zUidJMtTwlkTe6Hg6ZawFE708\n/w0JtVttMb8boigS30dYNBabu0IsF37Sk4tPIdtV0+S2od9dzmqzRe2VCMOf\nM5cm\r\n=Pn1l\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCiR3kg7P9JiQ+pW9GftTG12Xi25i7btvqOkaBfWgXusgIhAOyzBqhTJWObPZ0FYXHzSO1qBH6DH7M3wRxdkgY6qu1d"}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.2.6-1_1637809365433_0.8071501819639642"},"_hasShrinkwrap":false},"0.2.6-2":{"name":"miniapp-compile-config","version":"0.2.6-2","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^5.0.4","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"beta","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.2.0","rax-compile-config":"^0.2.15","rax-miniapp-config-webpack-plugin":"^2.0.0","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1","jsx2mp-runtime":"^0.4.18"},"readme":"### miniapp-compile-config\n小程序编译时工程公共配置设置。\n\n### 方法\n#### setAppConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| onGetWebpackConfig | function | -      | ✔️      | 在工程获取 webpack 时触发的函数，可以在 build plugin 的 api 中获取  |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n\n#### setComponentConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n### 使用\n\n```js\nconst { setAppConfig, setComponentConfig } = require('miniapp-compile-config');\n\n// 应用\nsetAppConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n\n// 组件\nsetComponentConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n```\n","readmeFilename":"README.md","_id":"miniapp-compile-config@0.2.6-2","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-9PUnn7dnl91ZpOZxNbo4WJsCHppXyj9adjmCJLijL9TTJ9mEJem7cHSzyi0w2eTVnSBD+aia9fj2KJUriekjTA==","shasum":"0f936542557cac734ee8f78b06dcfd6296420ea6","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.2.6-2.tgz","fileCount":36,"unpackedSize":80679,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnw3hCRA9TVsSAnZWagAAIwIP/1NAERCkBWduOHBXFoN6\ni4OtuXyCcE9bRLpNDGPayUSJRm08W9vkWBCn9Ims7T3L8UlvHIWmOyxjCI5r\nmFcsnikxkWFE/YSZHhR/iU6nFiZ/lJvNXXVL0OfUNlzA4U17nE0DIRx7twKU\nIJatdKWbgx3Tc+plS7LVr22qzjtaEu17Gg2lWITFHLCSh+mEfBp2Qh7zHYyN\nfAc+Egyg83CXHCIwC8Kc6C026eSWrTAjFTD+XDuFcIzp+RQtxKEoiAqGOgzJ\nFuEDDEDKnCTdgMa6x8K82C8nixNbWrZ7cH7CPv0OcHA8kNbkfC6sC6DQ8hsd\nmM/ZkjJ9cBtJaMGqA30a+9GkLIIH92jCqHbxLvNN0Ok+37edkV5nHaA7ssRd\nDHJXL6EyUejI3s6Hjc0ZXlYd80HftBERWL9kOsUpFny4sUZKtRLNoYtLSW/6\nSizLoMtouaDTV56MBkZtFvPRIqCC2QHudUt/ah0jmJbCQydDAQKnGUc+LjtL\nL8MeCpzDcxanpl8VIS4GDEHZicpWv2xEMaVs5km5M16Iz0JjgDKGNBhfP+7W\ne9UEquzMo1Ky6BEBgUoQacIyge7+KW3b+cV94sUf+qLMndS31jejDZfznfvd\n5MMp8J9DjgawTpQPkVHAb1ExpJjFXAcbi2f0AzZhYTy8g5e0WaWABon/WgNp\n7JnT\r\n=Lmir\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFtItuAxskQrPgojVOns0G8K2Mk0SBE9JrhFxk7BM99eAiEAstwD0pbd8M8X5zMD/0ONRL7JTJ037z9lptJjabsxQ4A="}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.2.6-2_1637813728970_0.20802977727452876"},"_hasShrinkwrap":false},"0.3.0-rc.1":{"name":"miniapp-compile-config","version":"0.3.0-rc.1","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^5.0.4","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.33-rc.1","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.3.0-rc.1","rax-platform-loader":"^1.0.2","rax-miniapp-config-webpack-plugin":"^2.2.0-rc.1","terser":"^4.8.0","jsx2mp-runtime":"^0.4.18","@builder/pack":"^0.4.5"},"readme":"### miniapp-compile-config\n小程序编译时工程公共配置设置。\n\n### 方法\n#### setAppConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| onGetWebpackConfig | function | -      | ✔️      | 在工程获取 webpack 时触发的函数，可以在 build plugin 的 api 中获取  |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n\n#### setComponentConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n### 使用\n\n```js\nconst { setAppConfig, setComponentConfig } = require('miniapp-compile-config');\n\n// 应用\nsetAppConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n\n// 组件\nsetComponentConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n```\n","readmeFilename":"README.md","gitHead":"4733b07ec13a20068211232930fb5ce785817fa0","_id":"miniapp-compile-config@0.3.0-rc.1","_nodeVersion":"14.17.4","_npmVersion":"8.1.4","dist":{"integrity":"sha512-2lca9rkQrtRDzJpGIHnoNGFWnqUmSdpkbwZGIk0n0uQgq99/bLu5fUfIaBJlo1sakOII/yzCS+0Pp5B5QFPe2Q==","shasum":"e1a090ae3f064baa6355d7d080418943213a97ab","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.3.0-rc.1.tgz","fileCount":25,"unpackedSize":50779,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhqGjgCRA9TVsSAnZWagAAhZsP/R/42JRszDMiOq/79OQr\nEamyxI87pmt2o33VU3qUU/lQYGFTKQ5yvB6qm8BjF0wbrU90cXmMthS/LO0Q\n5+dO3EH11d2A+x1HHd/Egb+LFFjdKw6id9wpJ9oharUHPEZBVPxeISZQhDiV\nfiG/IpjuCtkgOIjZ7yat+3TGNiNLKU+/t+qgDffJi5q/GhH5tZdYKi5y/J2w\n6g6+bJOg4P612nmxSqcJr4LwCEAXY5dCD+af8c/RieLnVYXwE6gIGbpGfJ00\ngP+iTOUm7S1gpUWsHFGAAsQhzj2jh2bIxhYmrenRUtb0pO9QDdRcQyR9BBV3\nE0Er11UHUaUoi5EtGA9AsGTo6pZASrTWPNuRJTj9w18AvTj+op59Znr4CWmD\n6PVT1dnTCvMd+qlyCEl2aAd8YsnFhrxi1fbSY9E/bCWogthkLq1JdtZmcBdD\nOE+zkJfHysxH1oZwW92AQFsnzrRZlfMTBYqzurwThglRM9ZNogAfRLMc29/z\nU9jb7xNw7cZH3Y1XyM8arEa7LpiwYERiZa61puhkOkZNz451q+j0nlFm9G9N\njSJBOW2vBPAhOsnddUWizBDnGQuTain4rf8lOIa+xRYcC1reUaljymyzatg2\ncPhqOg3gbF5HSlzWmIZjAg5w/Y0zIEefCeQFUox5lLpKK4EGn7vAX4A7tpRQ\n4oqz\r\n=uWhG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCiSac0M7btFu9fKEG64w72dQyrtzXjP8/ihEt9HVbmbgIhALMcmIBA8txHti17IsBHBZIEwhaLeolaFgmN/XWwTj+i"}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.3.0-rc.1_1638426847973_0.1998853782845873"},"_hasShrinkwrap":false},"0.3.0-rc.2":{"name":"miniapp-compile-config","version":"0.3.0-rc.2","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^5.0.4","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.33-rc.1","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.3.0-rc.1","rax-platform-loader":"^1.0.2","rax-miniapp-config-webpack-plugin":"^2.2.0-rc.1","terser":"^4.8.0","jsx2mp-runtime":"^0.4.18","@builder/pack":"^0.4.5","ts-loader":"^8.0.0"},"readme":"### miniapp-compile-config\n小程序编译时工程公共配置设置。\n\n### 方法\n#### setAppConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| onGetWebpackConfig | function | -      | ✔️      | 在工程获取 webpack 时触发的函数，可以在 build plugin 的 api 中获取  |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n\n#### setComponentConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n### 使用\n\n```js\nconst { setAppConfig, setComponentConfig } = require('miniapp-compile-config');\n\n// 应用\nsetAppConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n\n// 组件\nsetComponentConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n```\n","readmeFilename":"README.md","gitHead":"da083af166b6fb4df251690a34e910f2f58c3738","_id":"miniapp-compile-config@0.3.0-rc.2","_nodeVersion":"14.17.4","_npmVersion":"8.1.4","dist":{"integrity":"sha512-a2pYSVw2sOwI4EOlF8sf17tejPGoSnlp9OANtcAJbBSQzDINSdwu2tDvTg6myrtBpZbwXD5qnfjARXdD8TZxYQ==","shasum":"433527d02e3f095e2b6d5d7035b43433b336645c","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.3.0-rc.2.tgz","fileCount":25,"unpackedSize":50806,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhqIBDCRA9TVsSAnZWagAASvQP/iRAD0sV3YbmAlLiAZVW\nqRJFV14u/u/FtCVp9kbgZabVWTE2RNOdbaAtguzMPFXZQ38aAzmRD7POFpHD\nyQxPYWm2W0cWvYQniqD+2CSwT0Ks0A+p8xC5h/ROmyHUJD0IZaDQWjhMpwP/\n301eyWVXIJ12gfMNc6tmK9s7wkaN6iZqtwC8jS8C3H5jWev73RtbUGInQNtB\n9WZsdgrRBN3e+CyFQWOgxxjOIieq2qRAst4jEK7MRCXncZ2H97rJRAUHGm0G\nOtrHFTDbSQTlC7gaJuSvdel9kqoHuA6SFoich4hqsfIma+O+HaQt38qeL5tW\nSU6+jyvQDvNmDFzmy8Sl1WWDsMETceEBb2p+umkiwRsHrM+1vzwEu1dnjMHz\niBs0KIqwb3lnoS+iheA7YKmuf70VpfphukE9UUVh3Wv4PkLXBnEQgdXZyp5B\n05Hyh/5HKP5MlJihDA1iLv952ze4xPD1NK9tS5ETxSy8kfmKs7DpIFDn82NV\n/+hm5jDzWwCTr+YT1BxtfvdQL8YHzBGcHuxSEis4Zto2kHfpGiNG+Q+pqj5g\nx2Fifeh4HBH6qPU3FfDPxJbBnuKUPGLsxx5wD+l9+fEEhAFORSDT2Yx1BOz/\n4vm1c22me0xOGTY5Vr1DpjYpZeGP7zjJ0dIzYNlKncFkdO/7exGE89af5qQc\nm0/v\r\n=OUUy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDj72Y0zCgOHK86FnWaLNj7rxtIWI4cgXmlKmcst248/wIhALQse35WMse9v/hdZxrwf6RsJi63RK8DsU1//VLeUTeu"}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.3.0-rc.2_1638432835237_0.47756560699616446"},"_hasShrinkwrap":false},"0.2.6-3":{"name":"miniapp-compile-config","version":"0.2.6-3","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^5.0.4","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.21","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.2.0","rax-compile-config":"^0.2.15","rax-miniapp-config-webpack-plugin":"^2.0.0","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1","jsx2mp-runtime":"^0.4.18"},"readme":"### miniapp-compile-config\n小程序编译时工程公共配置设置。\n\n### 方法\n#### setAppConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| onGetWebpackConfig | function | -      | ✔️      | 在工程获取 webpack 时触发的函数，可以在 build plugin 的 api 中获取  |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n\n#### setComponentConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n### 使用\n\n```js\nconst { setAppConfig, setComponentConfig } = require('miniapp-compile-config');\n\n// 应用\nsetAppConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n\n// 组件\nsetComponentConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n```\n","readmeFilename":"README.md","_id":"miniapp-compile-config@0.2.6-3","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-N3ybQJzZT8z6abaIouHQ6c6mKpTfMedWqfFS/dvSmiNFv4X3jcCP8XkGsrGX15Db+raTkzl4BBpLftgT1qAzoQ==","shasum":"4940f7a09882a62e3e890b95bba7b45b5589bd75","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.2.6-3.tgz","fileCount":36,"unpackedSize":82072,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhqcODCRA9TVsSAnZWagAASWwP/j7TMP4JO9NHAAHqcS/4\nk2liRgluEmoZpyM9Q4bEvyUdmmEuz9yDMe978krdzkTo12sGFQySkrzpIF3u\no+hJq72H/6CkZEnxJp/HH85AI4yUJm2nNVuPWaS0CLXipmx7NveTanZ1SvGV\npXo2PaxyfUwRJ549bn8H1s2FKUMtemdn2tyvgUMaQtS/OjaIN9LvzTNcjTI6\nGb1UWMLlUL7NAqVWSGqGtNcjTv1HTi4aDFt1L6/AmiMNuoTLnQhhNyYmeQdi\nC1dmW18w2WIxkNdgg98K/cmhVM6a/r9h9pr+/ae4Zp/Jyvf/hLVKtdzs157d\njPrklxjAchUtPV7P/9L7BRqXKCy1rRieDCo36qOaQgjLt7hzvoizvpFJxT9R\nmvNfFlXDriTwGm+165qY98AMf4ha6LdZCA0MkLbWoQjifnhwNLVX5elRr8X8\nyO2MXm+gNxqKiWOdZ0VAA0ca++Gjd0M2/DPK3YuqFX5DH/+zFoR0OjIqpyf2\nmioARrBy8Np03JDelWol6aNr7KcllGhyWT+fv8lxL6q3YtHgDiJYFQXpUF8X\npJv7E430t2KQsIWB7MWFJl6BPXl6A0Btco9ncAuBl0yoOM0nTNQskPPqw/KX\nnZhv6vLqSDtIMRvMX6fVGsfd3IrIlFRVe5rmhLUku27cWrhG4/FU6yOJRIeM\nBoMO\r\n=ae2n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCprr9lahbWOIGYhT6tcbLhc+ZDw1K6aCs6FG7RIFPKigIhAOEyBGwZ1PYlPahhj41+abv/hZvQ64KD1yItbCnltOoN"}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.2.6-3_1638515587587_0.8650826467185386"},"_hasShrinkwrap":false},"0.2.6-4":{"name":"miniapp-compile-config","version":"0.2.6-4","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^5.0.4","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.21","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.2.0","rax-compile-config":"^0.2.15","rax-miniapp-config-webpack-plugin":"^2.0.0","terser":"^4.8.0","ts-loader":"^8.0.3","webpack":"^4.44.1","jsx2mp-runtime":"^0.4.18"},"readme":"### miniapp-compile-config\n小程序编译时工程公共配置设置。\n\n### 方法\n#### setAppConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| onGetWebpackConfig | function | -      | ✔️      | 在工程获取 webpack 时触发的函数，可以在 build plugin 的 api 中获取  |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n\n#### setComponentConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n### 使用\n\n```js\nconst { setAppConfig, setComponentConfig } = require('miniapp-compile-config');\n\n// 应用\nsetAppConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n\n// 组件\nsetComponentConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n```\n","readmeFilename":"README.md","_id":"miniapp-compile-config@0.2.6-4","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-jMiVQO1ddtfde2m/Ugjvx+GX8ECl9AcFAPGYlao6ag1ys2VVladd05V/ieH88o+dp3Wq6uwz4Ms+5ddPKjRQbw==","shasum":"345732d0bf5bae917a68e83e674af53fcc11b8b5","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.2.6-4.tgz","fileCount":36,"unpackedSize":82305,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhqcRDCRA9TVsSAnZWagAA7VkP/15r4LDTGA+6a+AKJ/2g\nK6aua7Et8bqdAbvXeXEAgIeWlQdt+l0Xnnjw8G40qU6lXQmfyQuRdQmw+joa\nknkOjyDcyEc8UFSf+aguDICm48s1q6lQ00OrexF+mBgaKdHFDtvs2/Kz5PT+\n4pcsorKU1FEDorisKwgHOUsQafQgV0Xh/4AeOCUqxWPyRrXJveapO2sn9NwC\nzwgX9w/9Byb7J3f0GPgJf7cecVoVki/nO1JzmzJh/Rd0OG/j7pguhH+Ufabf\nhS8yioE6vx+Nbcn5UlgnQDh0kXWP5j9DqJ0VytlpTrK3s6MBq62Skx5kJOpS\np6HD3PH4Jz2OTRh7JRu+pXSpfXUuo6KVDFO82UkuGkcCflZ+xvAtblL8bzUK\nhMUcIu8vfwm7YkY2Bs1BIzybykuoPKul/k643Bxx6xzbCnMMXyr8XIrP7Yic\nu+Q6Trj0/qyz2KjK46YEgq+g3u4IHNEZ8FtuPW2LaROBXNqymF/DAzX3T4Bk\neb9Xkiizpa+bwZozqsxniLxu+XEtEgkl9zLeCRTESJnYqsC7MDuFdYKpifvl\naTDionrWehmKS+5aLCQr/x9xzfCELNOoQKEsdFofjftXO+LIwlv55oR4TD6u\nc09jVSvXiOlcXOwR9Gq2/vtceDey+KZbcUqjqp2UX+sjdR+f7MVtGHVYm32c\nXllj\r\n=yQFJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIV45ck5O1H8GUIXAHeq7u1lggLAg/K9VUBvzeEkkQFAIhAP48csqPm7jUYOnfR5ddqizTjQCw6f5hjUk212jRmOC8"}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.2.6-4_1638515779548_0.8699713475639037"},"_hasShrinkwrap":false},"0.3.0-alpha.2":{"name":"miniapp-compile-config","version":"0.3.0-alpha.2","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^5.0.4","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.21","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.2.0","rax-platform-loader":"^1.0.2","rax-miniapp-config-webpack-plugin":"^2.0.0","terser":"^4.8.0","jsx2mp-runtime":"^0.4.18","@builder/pack":"^0.4.5","ts-loader":"^8.0.0"},"readme":"### miniapp-compile-config\n小程序编译时工程公共配置设置。\n\n### 方法\n#### setAppConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| onGetWebpackConfig | function | -      | ✔️      | 在工程获取 webpack 时触发的函数，可以在 build plugin 的 api 中获取  |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n\n#### setComponentConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n### 使用\n\n```js\nconst { setAppConfig, setComponentConfig } = require('miniapp-compile-config');\n\n// 应用\nsetAppConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n\n// 组件\nsetComponentConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n```\n","readmeFilename":"README.md","_id":"miniapp-compile-config@0.3.0-alpha.2","_nodeVersion":"12.21.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-jMtavwQNXcRx0BGX0uymZlyDGNR/BbxtvGCXX9JSV58mE/SF88Te/CR7FuK8Keq/ZwG+EolHYwKL+8/5PvUZSg==","shasum":"c13f6374a6187a42f94c7ac83d1aca4059eaae0d","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.3.0-alpha.2.tgz","fileCount":25,"unpackedSize":50305,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhsCvwCRA9TVsSAnZWagAA0Z0P/RQvJy928nvIYuHyv5KQ\nfG7yI92Evkq1/l+G3JTr0/IGVcOEl0lU9wJkWKqerAQEj0aVZXiLq3f9bvUT\nCSsdaTpNwgxWw+tQXCXj8MFO3CLJSXN1p/i7bCSfQVtjlWtZltrgtJlvlE0T\n8k4pigZzbr8wmZLEYchDou7cKRHU+40tGMY/cENcjWE/uMFcmWDN7owYeniI\nsr5DOesnqWQtODmMi7Ig2hj3ahVlAAxPgWfdls3zSiuZ6ykNR7uLSKYnT6ed\n7DxrWUWEQnha0f5RTdcAIYi9XGwtGoL0/fl5t5SkL1PJbtXjd+HfqZKrSElj\nNspy5bultYwS6FdDct+TiBtpnOzvti9cAce/KUK5/jjYJ6XQa2fAAJbHMgKs\n/d/FBmSSy3OCULqF74JMKPFs90uMUiCdiBFi88BEeDG3Tr+1eKKw9VHAYcDl\nTdtR49DvZJbn7FpRQoNmvCI2Oa2KbhdKQqYakCYJ5Y/zmPmciZdTC4oeSuLp\nuyQIiwCj9s99BPWJbZl6qu+746nUQO1K8fgMm8dC//MMAxhckWVsAWdqKQ4k\nr94wbAWrKo8jfQGMOS1DnG5KOroz+6P0dKx+NyXtTeMGI0gwdtE34ShjpzBp\nZHaDq/8gYTQMKs+G0+8+ll/Ghh47cCgnTdLh2iOEKx/S4wU4LYjLVQgTqGOv\nHKVb\r\n=XZbo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDT5FQ0ECuhv14AkhFhCGNtDFFUrH63msue9S5++wNAvAIhAMd0Q29Utsk9pi3agMigbFWW/6fXzXypTMe2SyKRFqlP"}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.3.0-alpha.2_1638935536002_0.3555974744557877"},"_hasShrinkwrap":false},"0.3.0":{"name":"miniapp-compile-config","version":"0.3.0","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^5.0.4","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.33","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.3.0","rax-platform-loader":"^1.0.2","rax-miniapp-config-webpack-plugin":"^3.0.0","terser":"^4.8.0","jsx2mp-runtime":"^0.4.18","@builder/pack":"^0.4.5","ts-loader":"^8.0.0"},"_id":"miniapp-compile-config@0.3.0","_nodeVersion":"14.18.2","_npmVersion":"6.14.15","dist":{"integrity":"sha512-mwO2koUcZ+rrIoNjXFodA/ZYAGCGmBw73aeyt2eD77qGzpY1thjMG7BjK+NJi/EGC2Vhk4engKPyeCq75y6H1A==","shasum":"03dfbd6e9bedeb06fcf938a4c9e73a5ab9ceb8b8","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.3.0.tgz","fileCount":25,"unpackedSize":50884,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhuY95CRA9TVsSAnZWagAA0UUP+QABZiQWLY59mEz8Ge68\n6cklph58Ne0eR5qq5s+VSigNuJ/6IS1WjZdpv/9ueCxzSfyUob8yaS/mREbv\neMpEHwVrsw95iZSGV4uoFxPvm0WaRrpguTDYLJeoi4cMBjcC+VKcxqdQ/0Wz\nAv+umVfHGzJ3wIqvSPNuSFqjQvETNClidDi7VskZqKdqH7rOux7jd+yNSJuS\n0qj08MrO4BwQNxRfpjdNJTQc71JpzpcdNUaMAaIG77rKVyIlqiQxY5TWh7zy\nGMzZJ6n19dYWcsOpxRsxyadL33KNQ73MGwMmuwpANeQeSo+xXv2h+PAtP5E0\ntZMCvFW+u0ehFCSrXpsCbkSsIq3NYJ1dHw/RVbLBR+B+MgwAm+rXM9a40zcG\nhp4X5VUnIb+2yTOUkiOzUgcGxCXy/Ld0uVR1KAS6YuSwmrt7ugWX1wsh4JXd\nn6rZsFOGL+I0m/Hj/4i17AAZO7wB144A/3F3Qz49ONasJF91dydUWWOXpgEm\nZW4tTSHLYo7F5e2GV3ZzUX5x7awbo8sJgK9hC5Ne2ztkB79GzmPFdUlwlFzG\n/it9PdpGMUXipW4vPTVpZbVlyX8BzSfPgUELOaRdE34EyI67yWnNOrCjfudi\nifzbwBdD/XGSm0mhOBzozHrTjkufj0eQrSc9YjkSQBnFzzhbFzNyJSwX5d1a\nSl7H\r\n=VOhc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHM6COqb7KfybCU7PxggQtCl75o81tsurRa+PnsBMqvxAiBnVzyvDfxAvpn8y+6q2K1l5prtGKtAK4jMTkgBQ26Ytw=="}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.3.0_1639550841162_0.5075522854155368"},"_hasShrinkwrap":false},"0.3.1-beta.1":{"name":"miniapp-compile-config","version":"0.3.1-beta.1","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^5.0.4","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.33","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.3.0","rax-platform-loader":"^1.0.2","rax-miniapp-config-webpack-plugin":"^3.0.0","terser":"^4.8.0","jsx2mp-runtime":"^0.4.18","@builder/pack":"^0.4.5","ts-loader":"^8.0.0"},"readme":"### miniapp-compile-config\n小程序编译时工程公共配置设置。\n\n### 方法\n#### setAppConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| onGetWebpackConfig | function | -      | ✔️      | 在工程获取 webpack 时触发的函数，可以在 build plugin 的 api 中获取  |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n\n#### setComponentConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n### 使用\n\n```js\nconst { setAppConfig, setComponentConfig } = require('miniapp-compile-config');\n\n// 应用\nsetAppConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n\n// 组件\nsetComponentConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n```\n","readmeFilename":"README.md","gitHead":"baf7e3871568f2ca1367c9b57fd3559892058cae","_id":"miniapp-compile-config@0.3.1-beta.1","_nodeVersion":"14.17.4","_npmVersion":"8.1.4","dist":{"integrity":"sha512-Cv4ycb8qD8pdg9HSriag3PILnx3Q1Nk+zLKnA9kOiiK68Pw6w2EnQj2dCg8l2doco/0j0LOxt7lMz6v4btgnQw==","shasum":"927fd72222a0c9597124f8718f9e378b543a6c38","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.3.1-beta.1.tgz","fileCount":25,"unpackedSize":50903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhuv/RCRA9TVsSAnZWagAARLQP/Rbp3Hxia/91paYqsuZp\n6zM2k1Qj2IbycoBS8Y7Ilwk4GJOGd0QxMddS35lAu6BhZ0T0Ov/SO/1acxs4\nMkLc2S2nMekrMocJO/x82BijSkaAu3brCclHUisW/z7qKqasPB/+UN2RFyJj\nsMpj1481daEYIjXrQrgOvLRUOwvKzQRcCYLxTjcyWin+KAggY2meswT9LAfB\np0+5LqAQ1BncbV6ePMXzaFgmylWm9HccPCinhe5ko9Mi7MBloa2OgXTp5Q6K\nyakXi55nsVVOLzw6OkMZfRKXX+LTjIWnq+FbJTrWtWp809n+rU4l0+UJb+e+\nEDF1Nr5CBiUlIB5Zatk//kTf+qLIxfkzUfmPUP3EOR6y/jdmMtwHJm1RGHvP\nTAeD1ao0lea+p/PR5hi2cXPZOthIt+H4g5RpeTloMgPVkcgGxCqG24XWk52v\nxqzLhcsoa4m01GMNUGvfTsdmmBxr1Jyt/F8aZuYY9outX2v2ZRWqI/9OxL9P\nryK8qy//OJnv+o5j7zXvxEJVQFhsZgDt3z7LTrQ9KTsQEqml3hlg7LyropMG\n1riz4BEEgzWVhxavOp1W7lYbhdjvMVeR4N2DKq3fiEx+QrRBztmd87VtNS9Z\nZBayNsz5B8/OhJmPhnnE3I86vRBPWRDAImYOjfRKnphhem3fKB9zE9cUZu/X\nYtd4\r\n=Nao2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHX0nUyfm7SNXm3C098yDVroVYtvR51yuA/g+HmUp68XAiA/6TB+3zTtCvtx2SgWK85bLRdLqN4vBJd/sTHXUvwGVg=="}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.3.1-beta.1_1639645137188_0.8260887096295038"},"_hasShrinkwrap":false},"0.3.1":{"name":"miniapp-compile-config","version":"0.3.1","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^5.0.4","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.33","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.3.0","rax-platform-loader":"^1.0.2","rax-miniapp-config-webpack-plugin":"^3.0.0","terser":"^4.8.0","jsx2mp-runtime":"^0.4.18","@builder/pack":"^0.4.5","ts-loader":"^8.0.0"},"_id":"miniapp-compile-config@0.3.1","_nodeVersion":"14.18.2","_npmVersion":"6.14.15","dist":{"integrity":"sha512-/kDybvgPskZTeJ91joVFX37IDFkyBwalLup+5uBSOX1ey7BNub7DYFeC7lVGh0ZA5MuxVSMwo0Lib5ia492RPA==","shasum":"d3ecc45e09e84477896e921637a3272c8baa005f","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.3.1.tgz","fileCount":25,"unpackedSize":50950,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhxBX7CRA9TVsSAnZWagAA+vkQAIFByc0hbNPngdK41iZS\nOtarNgkni/9w5e5Mbt9PEjMyyxHHvxZvZa93U1vTC60cipnIYKAusl6uVSe0\nYOF+IbujrdAvvEKFd1SlJ8sG3D+MkQj3brFibN8sthMoisaL1VLKpCU04WLz\nzGwab0/KSFXzKCGPz94yTHn5e5CSQB+0O44XVmTHccgtnb7JXkeMdtKf21jb\n8LRWPieoaYmOOI/m18uhbFCyUjZexiTJXqGV95Pj3ymkFTKUftAJvDQ9ciZg\nd0LKuCOkrUopHaBQuexCzhIm/rgan/e3/j1OZOkxVyO9WL1dZXaM2WNkq/NL\nIPgXauKxvcZpuc56CV4qzF7SUgVZPLT5egSteW707ZiLuCFEojCjsjVVYri7\nHTcHi+OZAVce1HlyOd60Q9b4t0ZPtOdzaHomdsRzl7KUrlHjMQEGNozRrB9l\ncgQKsPrqoe0y3CDToFtbozBheA3UicSPpFdvXZYaVBgoLU0MzNcbdAYmP/2+\nhHVp99QdGcbK+/VfkxQocQaskRj9oJoDU+d9fKAmlMFvSfUgK/+zz6BXwRCI\nFESDJfa3IzvLhHKqFKybM4oFelLWLyCuhJXCNRkw4JGRIogiSYrMOT4jH8qN\nwqu4/nKua8sPzw0ncG85gNEIW4MIUoUZlkms5gNoIULyIDaZDaIlRul6l7Py\nNozf\r\n=VlMI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDaBx/fUU8YBRsHsU5vdVvql9govqKW50wDyuyFLt2CqAiEAy1q3xRtWF1E5GJ3z8P4V6WRhwOy8NpBpa5DH+/Gd2F0="}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.3.1_1640240635104_0.13437773994210866"},"_hasShrinkwrap":false},"0.3.2":{"name":"miniapp-compile-config","version":"0.3.2","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^5.0.4","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.33","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.3.0","rax-platform-loader":"^1.0.2","rax-miniapp-config-webpack-plugin":"^3.0.0","terser":"^4.8.0","jsx2mp-runtime":"^0.4.18","@builder/pack":"^0.4.5","ts-loader":"^8.0.0"},"_id":"miniapp-compile-config@0.3.2","_nodeVersion":"14.18.2","_npmVersion":"6.14.15","dist":{"integrity":"sha512-4Xd47iROLdOY9c9zusAap9HmhZw/Jni+esOHWzXRK7R5Ac+JDP9E81AeI9lwmPssxeVKRHumQVnnFola2eTaww==","shasum":"593d53c4c841cc8b33273419d57d6ae19874d619","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.3.2.tgz","fileCount":25,"unpackedSize":53600,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3j9bCRA9TVsSAnZWagAA6qIP/RXPk5JAIhIUGaCSQQmz\n7CbB7INjmxhXZ1qmY/Z9ZCk5vl0nAc64UNrWdNk4bVsLRA0eQvbP6GODP65R\nOOvyD42N4z/MbUSgDhV6Iw0gaszhyBDp2diqtm1qyovN6jL0n/ZcB5BLzEsx\nddEbAtChO15ysZneGpWPZ/qdX8KSib0xntWM8zLabq/K6AkHWl5TKQk02DwM\n0Um5au/3UHSEADqOECRrKzt2Q3b+CYrgsB8aTSnKUtVm6+mm2AbEpGOxZBGz\nV3ODM84Kt/C7pWHJxOuFup9iuTy9uGxoCakbbucZZdouj3h4bB2lKp/IEl95\nPt1rVoxjGpHuwOSyJVUljYr+DHzwx9F8v7vNpgzdWimTaknSsHNx05bjcj6s\n1GmmY/lOFgx4gtAlOEWDXWvsC6EJ33uvowsqq21JJZ8V/NdRM0mjzuSbLYx4\n/pVlDi6vsGe2PqezRCjdoLasPKNpKNwRYkqwwEbSa4Bkvf+RJBsOmGrdlQWv\nXPSdW8fVlFymPAAdK6HIbL2m6GVsyy9ca+hGi43Gb8VgLkSvVEU6ChZJqWtd\ntQSKpo3ChRGwy+I1z+TS0oWMoMLsqPFtd9Gep4xYzmtUWMlM8m96KBJRUrER\nLg+ueSw1kmn0jL3C3bTDZyLWRa/EYJZ0OclF30ZJFIxyjUDEkL98FbFprVjm\nQWWY\r\n=Q2Rb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNb223Z+t9PHiHVJeLU+qOwFw+WM/wJjwqoqoOQejVtQIgCocNEfWlQ3KBnPoLfxTgHhkAu0j8Hkxk6bCF9n7egaI="}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.3.2_1641955163120_0.9950311169532275"},"_hasShrinkwrap":false},"0.3.3-0":{"name":"miniapp-compile-config","version":"0.3.3-0","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^5.0.4","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"0.4.35-0","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.3.0","rax-platform-loader":"^1.0.2","rax-miniapp-config-webpack-plugin":"^3.0.0","terser":"^4.8.0","jsx2mp-runtime":"^0.4.18","@builder/pack":"^0.4.5","ts-loader":"^8.0.0"},"readme":"### miniapp-compile-config\n小程序编译时工程公共配置设置。\n\n### 方法\n#### setAppConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| onGetWebpackConfig | function | -      | ✔️      | 在工程获取 webpack 时触发的函数，可以在 build plugin 的 api 中获取  |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n\n#### setComponentConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n### 使用\n\n```js\nconst { setAppConfig, setComponentConfig } = require('miniapp-compile-config');\n\n// 应用\nsetAppConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n\n// 组件\nsetComponentConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n```\n","readmeFilename":"README.md","_id":"miniapp-compile-config@0.3.3-0","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-09GiJ9y4Z6yKF/BMWnicejuO9fyA9dXo2rgzqmYggkvTPX5xcaKeupcpg4qBWAG7n8WJ5vCOQfSwjxN7OT6Rww==","shasum":"9c70c6b6f8b4d105eaabdbbf8a83d5c119eac2ab","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.3.3-0.tgz","fileCount":36,"unpackedSize":84473,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3kHCCRA9TVsSAnZWagAAC+gP/jm20/R4vawsEJT4EpLP\nSgOSDs27ClkAbtnQo/tC4S+Iu7ErMqV2EIRhFAkEzRi8/bU+EDCa6Y7Y/X3U\nmuCwYHwfYo4xJ7+2CxS0bo6icAnOL6koN5YjSRkwsHMQLp51anwZRKcaMHwq\nFCYj35qPP3fwSfN+U9KbLq6CR4DsDPEKyBGtDRJK3Oo0D1NA+VBYqQ1rltt6\nWvj1U6djFOQkL+290UGoZ2E0qDnn5iCpRr6cNRQHEq/gJJLXW/aq5UBtRpLD\nT4fWM7KfnZjZfSjn11t1BbTurPotQoYosQsgeciaa+w1SAvB9zFYFuSbFcu3\nZdrlyXj9tjeVuL5dCPYnAHt4UcBu9agusis5/Ag9emN3EcURdKu7uQanJkbg\nKLA+haisNarkP86WYy0zYBa23UICE8pzuWEAEZc+J9Ieito6NHM7hHkuvvwR\ncedXApaxoaluSHFkjLkWFcjNvi5m9l/N93bvqR6nuVxmHOOPOluOUFv6pL4Z\nviJ7UiUcCOnnccQzjgtG6AtuGDoWZBCEBNwrLopbVwfuAVC/hLoL4pKB0LWM\nYTzhHWPrKfW0m1sH9REUTO7qHvepmPjht59Cd8krsyMot+NOEV63zXqNvSyb\nC5cb6vwPcEY2kspwcCaKUH5frmrZtuGnc8s5TI3CXxGlBJzp9Sxi/jn0hArq\nAsS4\r\n=su4J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCM2HLKzZtMJvBoiX8vAXfFyZZbHXQc0ZWYCyx5qbG2/gIhAJfHsNNB+HPcL0iek8XygiYsw51yB+1LS16qyTkGH4LZ"}]},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.3.3-0_1641955777882_0.7230073728675124"},"_hasShrinkwrap":false},"0.3.3-1":{"name":"miniapp-compile-config","version":"0.3.3-1","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^5.0.4","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.33","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.3.0","rax-platform-loader":"^1.0.2","rax-miniapp-config-webpack-plugin":"^3.0.0","terser":"^4.8.0","jsx2mp-runtime":"^0.4.18","@builder/pack":"^0.4.5","ts-loader":"^8.0.0"},"readme":"### miniapp-compile-config\n小程序编译时工程公共配置设置。\n\n### 方法\n#### setAppConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| onGetWebpackConfig | function | -      | ✔️      | 在工程获取 webpack 时触发的函数，可以在 build plugin 的 api 中获取  |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n\n#### setComponentConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n### 使用\n\n```js\nconst { setAppConfig, setComponentConfig } = require('miniapp-compile-config');\n\n// 应用\nsetAppConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n\n// 组件\nsetComponentConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n```\n","readmeFilename":"README.md","gitHead":"229c55df14c647e3c2fbe13602b060e91ee0cf74","_id":"miniapp-compile-config@0.3.3-1","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-HuEoG71R6cn/aNSMeKQbYvKNtMRpz84NVtvLlF6lvLhJJyUzLmrmErJeN6mq9yiPPjggxmH+skEM+clPPiBCsQ==","shasum":"a1d4b2c788bc9cc9bb3b259399986238a533f04e","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.3.3-1.tgz","fileCount":14,"unpackedSize":29214,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEhRmHli8mATUQJbu782vpyAC8dT9sxOWVkQBFSBxxzZAiAnUshBN6k4vzNAOFnGR80S5fqswRMIUo6tAeWEo2nRXQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9MsaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqIcRAAmHZ6BzK90b8rUKc4MwWL/VvMaKmQ2lIldrE6Fhuz+rwzQMXl\r\nOd7o3DHFC9RQelkIsBb7f6qIH8rTSiUEKy32vcIM15NXh3dihifU9c3sXa0q\r\nBzRR78WeRQWD61smjTAy+ponCaojIuy9Ty5a9Rbit3LDJf85I+hqHmSkl7tC\r\nvBOaI+/6ycCsDiVt4+rFeHMzPYNdxeXVKrv6GsI7tjyLzK3//4Oz3cg4Pq7v\r\n3QmT1ujsNwTmy+Y6A7YuB45bJehxi2oGddB9xogkkDcX7W+OZTM713OUX7Tp\r\nmUvRz++ux/WhRjp08K4VaDsU4/l7UMzZjRVq6b1ganhO+J6Dw7F6ljCTDQvc\r\njRbas6OPGXjhnriHS3e1CyrX61I0THFyj2Jox85k89DGax2SoPhXbnfxNDl3\r\nHxuDZcvKKeYIC/AbVL01PCwZBO3a8LBMCXnal9dICtCZOOOBBAEiFlFo/eif\r\npzfrSPcNNmL6BIpPpyu0PyY+wTycZQD+OF3SLs8h5FsPPZojDW1VGFnLjjhB\r\neHMXQHW+Q1zGSjTrT+LsTBUFcLhGJ9/y0Vi6JEHmk+Q56LYq28IoLOsXVeuY\r\nvUcNCtg2FXDHqCMaj/uI4OvSlAh5wcI4gM4AMRpXJeNZvloKRfBroVEotyBW\r\nrd8lKEKFYAEyWvMkWce4N2mKoFmhESr10NU=\r\n=Flgc\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.3.3-1_1660209946653_0.22860785401254757"},"_hasShrinkwrap":false},"0.3.3":{"name":"miniapp-compile-config","version":"0.3.3","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^5.0.4","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.33","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.3.0","rax-platform-loader":"^1.0.2","rax-miniapp-config-webpack-plugin":"^3.0.0","terser":"^4.8.0","jsx2mp-runtime":"^0.4.18","ts-loader":"^8.0.0"},"_id":"miniapp-compile-config@0.3.3","_nodeVersion":"14.20.0","_npmVersion":"6.14.17","dist":{"integrity":"sha512-+ELWHvIEJ82dObQOh4u1jgBqxGWzzPl+393ZRTvwGbjd8NcYrkKjOSM6z+E3IxHeuGLmNUhzelXgVOhHVW9MEw==","shasum":"ce6bf5139d12127a24d139fef4b3b2dce62f993b","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.3.3.tgz","fileCount":25,"unpackedSize":53656,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICNRyRfZXJRMiOXMmBoSXfvM6vECh6jzk1PftU5FZQusAiEAz5tdoVPl3wifJUTQQwoajiYVggcOobhv5daIvBZfi64="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjI+3DACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoDThAAhyrG7z9cuWLNdt84LPg1w81+6rckXW18X1sY+8HWJqc9A5yk\r\nAM79EsfhHRnkyewZ7Jk9vNT16orQvH360GFXu8y1+wieoBGGrMabsCxDmhVn\r\ncXAyoCLaplDzpQ2g9EUQ0Q3GDN/P8JdOvpEUw+++yV5uptFJn0Ra2FCany5+\r\nWP32JwvyDxsKFGHARlSza5/zLPiA301dmpfVsmGeNyZixPSaZ7CKPNwvYtK0\r\nR5S40HpXsDOmSm+MSjQgCi/boCtL/tJ61PIW0Nl/37tI14cSOFYddw98R9dl\r\n5vQVR6z+8mpFcfCvGRJVb+sMTMY95qERVxcEsz6lxkV1iARVRg4etxs+B9h2\r\nSqZdjjQrMY7P05TldCwOd/eF7EtINalev2xjGyypuQ8SS6fXG346DJNzyiPe\r\n6zLtdwcDSdlK6ubqDy608vE8j195LYaVjftIGB1uHF10NInU3e7swLrrqz1V\r\nHxQLryPsRFaNi4LIhcTEisdfqdg0WtKdvN+xpdsRbrTLeilfLKNfusc/ie9j\r\nRiUJeL7eOrlmv0hPD1A4PORCvhjo8tsumJOzG7oUsdWmdBcOUWaVEnUccSjn\r\njpWQudqAeAhYV/R8xuB/d2xG8CpC+AQFPy/09AOIVxvuPSW7JlMNFycoQ+oI\r\nPyRNpJUO40F+WBw5a6V9OLKDhaDvgRV0Yqw=\r\n=vojo\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"maintainers":[{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.3.3_1663299010968_0.6652670780061172"},"_hasShrinkwrap":false},"0.3.4-1":{"name":"miniapp-compile-config","version":"0.3.4-1","description":"miniapp compile project config","author":{"name":"Rax Team"},"homepage":"https://github.com/raxjs/miniapp#readme","license":"BSD-3-Clause","main":"src/index.js","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"scripts":{"test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"chokidar":"^3.4.2","copy-webpack-plugin":"^5.0.4","fs-extra":"^8.0.1","json-loader":"^0.5.7","jsx2mp-loader":"^0.4.33","memory-fs":"^0.5.0","miniapp-builder-shared":"^0.3.0","rax-platform-loader":"^1.0.2","rax-miniapp-config-webpack-plugin":"^3.0.0","terser":"^4.8.0","jsx2mp-runtime":"^0.4.18","ts-loader":"^8.0.0"},"readme":"### miniapp-compile-config\n小程序编译时工程公共配置设置。\n\n### 方法\n#### setAppConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| onGetWebpackConfig | function | -      | ✔️      | 在工程获取 webpack 时触发的函数，可以在 build plugin 的 api 中获取  |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n\n#### setComponentConfig\n##### 参数\n\n| 参数       | 类型   | 默认值 | 必填 | 描述                                                         |\n| ---------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| config     | object | -      | ✔️    | webpack chain config                                         |\n| userConfig | object | {}     |  ✘   | 当前小程序平台的用户配置，例如 `{ nativeConfig: { appId: 123 } }` |\n| options    | object | -      | ✔️    | options 子项见下表\n\n\n##### options 子项\n\n| 参数          | 类型   | 默认值 | 必填 | 描述                                                         |\n| ------------- | ------ | ------ | ---- | ------------------------------------------------------------ |\n| context       | object | -      | ✔️    | build plugin 上下文变量，包含运行时的各种环境信息            |\n| target        | string | -      | ✔️    | 构建的小程序平台类型，例如 `miniapp`/`wechat-miniprogram`    |\n| entryPath       | string | -      | ✔️    | 入口路径           |\n| outputPath        | string | -      | ✔️    | 输出路径    |\n\n### 使用\n\n```js\nconst { setAppConfig, setComponentConfig } = require('miniapp-compile-config');\n\n// 应用\nsetAppConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n\n// 组件\nsetComponentConfig(config, userConfig, { context, target, onGetWebpackConfig, entryPath, outputPath });\n```\n","readmeFilename":"README.md","gitHead":"dc7453465e0548bb27cf1ac58bf8245b720e9ba8","_id":"miniapp-compile-config@0.3.4-1","_nodeVersion":"16.15.0","_npmVersion":"9.1.1","dist":{"integrity":"sha512-DuyaTjn+pHDxxn/uo2hJm0la17tvjCmR7YZmcWaGlduUROdkgZzu/xTCsK0zHArNoaeTKNtNmpwrnMvsaTDWBQ==","shasum":"a1d0da48992933bac8f07d3fd9e73df8beb492ac","tarball":"https://registry.npmjs.org/miniapp-compile-config/-/miniapp-compile-config-0.3.4-1.tgz","fileCount":14,"unpackedSize":29640,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDheD1SwdD2U9FvgCtW9zJHoAsOwWtvGFsuemw1jlo+HAiEApTWHKZANmNXR8xrhdxOKTjR2va22+Tcdio2RMOAw7oU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjjgmQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrykQ//Y88aXS/dbmrEhnm1aXxE7SvVYxHV4y7oWE52FmZyMbwrVgN5\r\nJJ1gBvxLqTvFOlEOK4K83auGI4r5Y8sPiBTzQLsHryTKax5J5XosSjoxnWW7\r\nxUJvjAzPsjoLzpD4JXg3G5yOxkBdSVB6pKPgOn5uevHLkCvZtS8Wh6YRBwsO\r\n+WSkw4HgHZuDCaELRhWh3k7TM0jcxmbKNGaQ4O4jeXZJIam1H4FqBiynY0tg\r\nwYT1NFCedYQZeKziP7x94PpCONisaNJ+fDmx9/yYjJQ+4AvdPEUVn9nCocQO\r\nzTAtz6Ob6HGsQ963u3gWTafMqXV6LVZz+FT313nrKOV1cl0briEYb34+VPrK\r\n3T+/5WCN5SX378DitHbLMDvXM64m3zc8LPwycZ9RZilbrKbz5PW/v+yYJOlV\r\n7uMFA7oEobCuZ4dY68zfi+IQ1O7tZ4Sevk5Nj6hKcuKWr0O0m3wDVbbKVaD1\r\nlXyQi9DooMzMSMDvFsNaOpI+FwEeOKfkxJ0oVRci79ML+Gho2ND6QJcnRVOT\r\ngbGji6iWJ/HN7A0dDE7kl3jYiKbN/XV1Ylv9u52AHi3IAPEJdZnrp0o43W02\r\nMuM1AO9GbmrXOvFFb8hip3GYwisSoe49oqkay3WvB7tdh9plW93DaXtcX4mj\r\ngbEW//7wjkq/nCbpIQU/gZmikpNjV/cUGPY=\r\n=KUUo\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"shiftj","email":"stjkl@foxmail.com"},"maintainers":[{"name":"shiftj","email":"stjkl@foxmail.com"},{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/miniapp-compile-config_0.3.4-1_1670252944730_0.10524053413315548"},"_hasShrinkwrap":false}},"time":{"created":"2020-08-25T09:04:48.483Z","0.1.0-0":"2020-08-25T09:04:48.608Z","modified":"2022-12-05T15:09:05.032Z","0.1.0":"2020-09-03T06:58:57.385Z","0.1.1":"2020-09-03T08:15:14.899Z","0.1.2-0":"2020-09-10T13:18:18.909Z","0.1.2-1":"2020-09-15T10:16:55.144Z","0.1.2":"2020-09-16T07:53:23.895Z","0.1.3":"2020-10-14T07:37:26.047Z","0.1.4":"2020-10-29T06:36:40.540Z","0.1.5":"2020-10-29T09:11:32.032Z","0.1.6":"2020-11-12T06:52:03.379Z","0.1.7-0":"2020-12-15T12:03:32.061Z","0.1.7-1":"2020-12-17T03:43:23.755Z","0.1.7-2":"2020-12-17T09:11:16.863Z","0.1.7-3":"2020-12-18T06:23:27.396Z","0.1.7-4":"2020-12-18T08:48:39.472Z","0.1.7-5":"2020-12-21T03:57:32.199Z","0.1.7-6":"2020-12-23T06:35:33.203Z","0.2.0":"2020-12-24T08:52:13.847Z","0.2.1-0":"2021-01-13T07:37:58.964Z","0.2.1":"2021-01-21T08:15:18.343Z","0.2.2-0":"2021-03-24T09:50:03.299Z","0.2.2-1":"2021-03-26T02:27:06.841Z","0.2.2-2":"2021-03-30T07:17:29.274Z","0.2.2":"2021-03-30T09:06:14.276Z","0.2.3-0":"2021-07-13T09:46:04.371Z","0.2.3":"2021-07-20T08:30:59.427Z","0.2.4":"2021-08-05T08:21:43.217Z","0.2.5-0":"2021-08-06T02:42:06.630Z","0.2.5-1":"2021-08-23T08:41:10.072Z","0.2.5":"2021-08-31T07:26:08.627Z","0.3.0-alpha.1":"2021-11-01T09:10:22.942Z","0.2.6-0":"2021-11-24T04:15:33.394Z","0.2.6-1":"2021-11-25T03:02:45.584Z","0.2.6-2":"2021-11-25T04:15:29.123Z","0.3.0-rc.1":"2021-12-02T06:34:08.102Z","0.3.0-rc.2":"2021-12-02T08:13:55.374Z","0.2.6-3":"2021-12-03T07:13:07.809Z","0.2.6-4":"2021-12-03T07:16:19.760Z","0.3.0-alpha.2":"2021-12-08T03:52:16.182Z","0.3.0":"2021-12-15T06:47:21.287Z","0.3.1-beta.1":"2021-12-16T08:58:57.388Z","0.3.1":"2021-12-23T06:23:55.278Z","0.3.2":"2022-01-12T02:39:23.276Z","0.3.3-0":"2022-01-12T02:49:38.018Z","0.3.3-1":"2022-08-11T09:25:46.872Z","0.3.3":"2022-09-16T03:30:11.236Z","0.3.4-1":"2022-12-05T15:09:04.947Z"},"maintainers":[{"name":"shiftj","email":"stjkl@foxmail.com"},{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"description":"miniapp compile project config","homepage":"https://github.com/raxjs/miniapp#readme","repository":{"type":"git","url":"git+https://github.com/raxjs/miniapp.git"},"author":{"name":"Rax Team"},"bugs":{"url":"https://github.com/raxjs/miniapp/issues"},"license":"BSD-3-Clause","readme":"","readmeFilename":""}