{"_id":"@cpro-js/craco-plugin-ui5-webcomponents","_rev":"5-cec5769df7fad6362d014a0c1f738c90","name":"@cpro-js/craco-plugin-ui5-webcomponents","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0-alpha.0":{"name":"@cpro-js/craco-plugin-ui5-webcomponents","version":"0.1.0-alpha.0","publishConfig":{"access":"public","files":["*.md","dist"]},"license":"MIT","main":"dist/craco-plugin-ui5-webcomponents.js","scripts":{"build":"tsup-node --format cjs","prepublish":"tsup-node --format cjs","test":"jest"},"peerDependencies":{"@craco/craco":"^6.1.2","react-scripts":"^4.0.1"},"dependencies":{"resolve-from":"5.0.0"},"devDependencies":{"@types/jest":"^27.0.1","@types/webpack":"4.41.30","jest":"^27.1.0","ts-jest":"^27.0.5","tsup":"4.12.5","typescript":"4.1.3"},"typings":"dist/craco-plugin-ui5-webcomponents.d.ts","gitHead":"fb4942d14cdc65696fce25fb207650e2ffbe021d","description":"This is a [craco](https://github.com/gsoft-inc/craco) plugin that improves the bundling of [ui5-webcomponents](https://github.com/SAP/ui5-webcomponents) for [create-react-app](https://facebook.github.io/create-react-app/) version 4.","_id":"@cpro-js/craco-plugin-ui5-webcomponents@0.1.0-alpha.0","_nodeVersion":"14.17.5","_npmVersion":"lerna/4.0.0/node@v14.17.5+x64 (win32)","dist":{"integrity":"sha512-/i3X9RmwEmemzrJG4ojJupli+Q33Hwd/seSfNnTxrwCQq7ng7yologZp0bsVZPurihAbth4U4Uyf3yM/kbV47w==","shasum":"04e0a595ff67e58ef58cd12c2782275e2a20726f","tarball":"https://registry.npmjs.org/@cpro-js/craco-plugin-ui5-webcomponents/-/craco-plugin-ui5-webcomponents-0.1.0-alpha.0.tgz","fileCount":14,"unpackedSize":34312,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhL2Q+CRA9TVsSAnZWagAA14IP/0/s2xLx5iehdeNgWJaj\nk4/TDrZpeQJ0JpgO8Vny3M/Tce/u4c0EsbcYk7uQ8WWswtFDLHoeprV+1bb9\nHxi/wK/beG4PXOggMnuJaFCG4xZgAUA3yOLK9JWolQzDyVaQb8UTiqvotbiF\nbJ+fHCh97FcHDP7KByflQuyzy75N4NkmjN3cHBhiSeYdd+VlQiiCgqWqfSLG\n+xlK+b0sj4QmZ8yMD64/kmhyJ5ff981+P/auEmmo1bb1dPh+1/hf7FX/Zt2u\nb0vZ1rV505LCK7SMsSIRe0tNPFQfPxwvrCTWmnY2mPn+kYYmK8mT8s7/6clG\nDcUpLzDIbu4zf1G7l5dLrapIvKXb4qMeAQvmNO2IfIHGFkCGh7SE8XlcLzom\n12CONrp4E6dCnH0NwhVVjsx6cv/+4EwS4o8aVd8l1Vj/csEj4eH+w+o2fGgD\nJ4tq30n3x0ThqrFtc7SWxpNmxLk1JHZksIfY/TBfifc68KBondF7yKMsIh29\nhz73yn+N8bB6S9IuoH5WItRORDm+WtlZ5Q3jcMkX5R9DuvkLpaN25qduLoAu\nZal8uJphfH/azHMuHpu9aUcw1eRpCkPTZ2majlHN4INvXDPdNwwEFEJJa5Y9\nVnd6RqIt7/fv4Lk7+2YjAKibHZKRFkJLN55f3+/tN5Svi2bpWIdtEvpIgfeK\nFd8w\r\n=AkNl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDgKEulRw4kyYswfwvE7ZIwtqQufw9rktMTq1O0GUow9QIhAJYo3n0v5o9SMnB/tfgSlSI9twJvcPrcX1bPCNHZ9Lzg"}]},"_npmUser":{"name":"zinserjan","email":"zinserjan@gmail.com"},"directories":{},"maintainers":[{"name":"zinserjan","email":"zinserjan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/craco-plugin-ui5-webcomponents_0.1.0-alpha.0_1630495806761_0.3677235020727705"},"_hasShrinkwrap":false},"0.1.0":{"name":"@cpro-js/craco-plugin-ui5-webcomponents","version":"0.1.0","publishConfig":{"access":"public"},"license":"MIT","main":"dist/craco-plugin-ui5-webcomponents.js","scripts":{"build":"tsup-node --format cjs","prepublish":"tsup-node --format cjs","test":"jest"},"peerDependencies":{"@craco/craco":"^6.1.2","react-scripts":"^4.0.1"},"dependencies":{"resolve-from":"5.0.0"},"devDependencies":{"@types/jest":"^27.0.1","@types/webpack":"4.41.30","jest":"^27.1.0","ts-jest":"^27.0.5","tsup":"4.12.5","typescript":"4.1.3"},"typings":"dist/craco-plugin-ui5-webcomponents.d.ts","gitHead":"0626c351a8ad76baa9a465f9938cf153fd51fd94","description":"This is a [craco](https://github.com/gsoft-inc/craco) plugin that improves the bundling of [ui5-webcomponents](https://github.com/SAP/ui5-webcomponents) for [create-react-app](https://facebook.github.io/create-react-app/) version 4.","_id":"@cpro-js/craco-plugin-ui5-webcomponents@0.1.0","_nodeVersion":"14.17.5","_npmVersion":"lerna/4.0.0/node@v14.17.5+x64 (win32)","dist":{"integrity":"sha512-G8Vd1K4+ynQUVv1GM6LALqx3+CTHnEtYqx6fwU+72Nh70Sifa1gUuOea4oo5TwIVlxCnHEBcQowFOOJ+FsSoNA==","shasum":"5012fd799473bac69f2cfb580fc46eb7733e1aa3","tarball":"https://registry.npmjs.org/@cpro-js/craco-plugin-ui5-webcomponents/-/craco-plugin-ui5-webcomponents-0.1.0.tgz","fileCount":7,"unpackedSize":18010,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2DcqCRA9TVsSAnZWagAAwTUP/1lFftioYUjVZBt2lhRf\nlatAjhVc0nFh8UbBrL0Stpf0tDDcL7Ovu+3+RctNPP0Pe23SMx6r0X8/GJ6w\nokNiDiaKjazoVMc6p5rrTKZpz4mB0vZwkFh0OBwqIm4bb6lEOKv/5zZBaG1K\n68W+iLS2sjh98Fnho7RVgOs1ofjQMdJECkfUXvjdGKmAuFqDUE2b/vJLf0dC\nQ88yexOptQ8siEQIW+o5q+tfGhqz66LsACQK5+8T/iqwQasmarVOjKLCHSy0\nrSpQSOisk4UdywKK5EU0SkSI1p9KXNpNVvkbNTjEbwy1i++8+Rdz21igjyLz\nSp4u4RLkHXHH1Nv8NlQ8IH2Gff06Cx17ojYG0QnjMrv9GeR3EgTtnFnsG6B6\ntIUMDFTMkRxfy2tKEuxkszrXpp1TSQgfmintzoaojxECUCP6Yl5+05hjsqeM\n1MpBuITz7+NSdPNp23XEN2aRyPLXfPLznV1/+KVLNrB7B7rjH4luwrFbC2Tl\njq9wXoK9ey8bDQNJ/iEd+7EGOILeinDBmnTb+ir+tqYfu1YHLSJNGvg5fFtr\nwp7xxVJyatP3fn05t4Yp0QjOy6HLU1NhX46ryWWh1doYy/4dKrRpd1HNrn0o\nKUPTTn4wYebl/mLlUX/pbX1uSbjzQefzvGkCSod9o5ylw5EkntHvfAfKMN4k\n9tcB\r\n=5+bY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6tcpNhii0qL/PuDCXkgd3dfuDN5PtqkbKmbd+Rr/baQIhAMKb90SQtYDocio8fMBfqnkKz8ytRCzXY5orxqToUCdg"}]},"_npmUser":{"name":"zinserjan","email":"zinserjan@gmail.com"},"directories":{},"maintainers":[{"name":"zinserjan","email":"zinserjan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/craco-plugin-ui5-webcomponents_0.1.0_1630498472182_0.599927151643949"},"_hasShrinkwrap":false},"0.2.0":{"name":"@cpro-js/craco-plugin-ui5-webcomponents","version":"0.2.0","publishConfig":{"access":"public"},"license":"MIT","main":"dist/craco-plugin-ui5-webcomponents.js","scripts":{"build":"tsup-node --format cjs","prepublish":"tsup-node --format cjs","test":"jest"},"peerDependencies":{"@craco/craco":"^6.1.2","react-scripts":"^4.0.1"},"dependencies":{"resolve-from":"5.0.0"},"devDependencies":{"@types/jest":"^26.0.24","@types/webpack":"4.41.30","jest":"^26.6.0","ts-jest":"^26.5.6","tsup":"4.12.5","typescript":"4.1.3"},"typings":"dist/craco-plugin-ui5-webcomponents.d.ts","gitHead":"59f3b84a0d6ec597187d814934b3f7ccda8bf88e","description":"This is a [craco](https://github.com/gsoft-inc/craco) plugin that improves the bundling of [ui5-webcomponents](https://github.com/SAP/ui5-webcomponents) for [create-react-app](https://facebook.github.io/create-react-app/) version 4.","_id":"@cpro-js/craco-plugin-ui5-webcomponents@0.2.0","_nodeVersion":"14.15.1","_npmVersion":"lerna/4.0.0/node@v14.15.1+x64 (win32)","dist":{"integrity":"sha512-vhKXttVGWTWgnuwb47c0YTpK4CUiWBQKdOPz2guzJ14canFTnmRKs1rbMlxfX4MBLC/jOVG3cDcuT+JMT6RwpQ==","shasum":"4a91448fec92c9553ce7b3d6ddeda6db2ad65cde","tarball":"https://registry.npmjs.org/@cpro-js/craco-plugin-ui5-webcomponents/-/craco-plugin-ui5-webcomponents-0.2.0.tgz","fileCount":7,"unpackedSize":18502,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfd4ZLGclI1u71CYInBAgFAEgPp/If2OSXhKhrtmo5tQIgRG7NBxrY4qGfrNH1LZO88ZcJ85lsaQRUJt22DE87geY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJimMipACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpiWA/9FEmSNQroiHJ7pAGYuANQRtLA1nRzPN/35izkge9Rlp0+dRVa\r\nzoMULH5wk+yQ6c1CYVTec5XuBLOg3/Q9CmFJHE6SkBW+v3nuBFWEtHlcKaiw\r\nON2jU4/aQ74pr3LdicVVnUDPQYMRWOBW2endqQLyz2MBxMX/yeXlixbI3W3O\r\npuliLXWTGrzmpKtZ/WjIiL0MUlEMG6vPq2gCONonWNqM6xIU+/gEyWPm8CTv\r\nAfbZ/9WLziRfLkQPxiHMufHmvPtzPM4UaKTjULl58kla5xumWF5Ws/67K/3s\r\n2TJGERlZ8oo2OdCDh3+9VmhQ0RNDAhewZ+nipbuC+ad1LG+Rc3bCCgvsJKkd\r\nI1b9zT4rH+enqizQxxircWwLlBBO2Z7rU7PKK9uRFqt9mJb/pFQAQJSxRjOQ\r\nSIpKoG6/soUrmAFFtqqon6NBtC3KrmJGwxV07sioyC9oVnFqUN8+7fOrMS0g\r\n/SW++bHCMF3rjYBP3rLxu7cUAtI2H8ujmD8Qw/78GMtdVIUqxEwaIS+N31VO\r\nZuc2PtduYqpxwj2WCgOWpz/aTcW3mAkSFg55sig9GIjBR/kaOb9KF27+uIon\r\nvK0kmIh6jDv6GvA9t6HjbAJsil640JxD4ljM9PHwfh2vc6KOlWma8gccXCcz\r\nf4q8+TyV2h/lnUeL3lbRJ1gnOnAEa79aX44=\r\n=a2mW\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"texttechne","email":"gedankengut@gmx.de"},"directories":{},"maintainers":[{"name":"texttechne","email":"gedankengut@gmx.de"},{"name":"zinserjan","email":"zinserjan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/craco-plugin-ui5-webcomponents_0.2.0_1654180009557_0.8238155858602041"},"_hasShrinkwrap":false}},"time":{"created":"2021-09-01T11:30:06.699Z","0.1.0-alpha.0":"2021-09-01T11:30:06.893Z","modified":"2022-06-02T14:26:49.812Z","0.1.0":"2021-09-01T12:14:32.339Z","0.2.0":"2022-06-02T14:26:49.728Z"},"maintainers":[{"name":"texttechne","email":"gedankengut@gmx.de"},{"name":"zinserjan","email":"zinserjan@gmail.com"}],"description":"This is a [craco](https://github.com/gsoft-inc/craco) plugin that improves the bundling of [ui5-webcomponents](https://github.com/SAP/ui5-webcomponents) for [create-react-app](https://facebook.github.io/create-react-app/) version 4.","license":"MIT","readme":"# Craco Plugin UI5 Webcomponents\n\nThis is a [craco](https://github.com/gsoft-inc/craco) plugin that improves the bundling\nof [ui5-webcomponents](https://github.com/SAP/ui5-webcomponents)\nfor [create-react-app](https://facebook.github.io/create-react-app/) version 4.\n\nUI5 Webcomponents for react is made of several packages. Each package produces its own locale and language specific\nmessage bundles. By design each bundle is loaded asynchronously with the result of loading only the needed stuff. But this\nleads to several async requests in the browser which may impact your rendering time and increases the TTI (Time To\nInteractive).\n\nThis plugin reconfigures webpacks default code splitting mechanism to group all of those language and locale specific files of all ui5 webcomponent packages by language. The\nfiles are still loaded asynchronously but instead of fetching multiple files only one file will be loaded. The tradeoff\nis an increase in the resulting bundle size that will be loaded asynchronously.\n\n_Note_: This plugin is only applied for production builds.\n\n## Installation\n\n1. Follow\n   the [`craco` Installation Instructions](https://github.com/gsoft-inc/craco/blob/master/packages/craco/README.md#installation)\n   to install the `craco` package with modified scripts in your `package.json`.\n2. Create a `craco.config.js` file.\n3. Install `@cpro-js/craco-plugin-ui5-webcomponents`:\n\n```bash\nyarn add --dev @cpro-js/craco-plugin-ui5-webcomponents\n```\n\n4. Initialize the craco plugin in your `craco.config.js`\n\n**craco.config.js**\n\n```js\nmodule.exports = {\n  plugins: [\n    {\n      plugin: require(\"@cpro-js/craco-plugin-ui5-webcomponents\"),\n    }\n  ]\n};\n```\n\n5. Build your app for production.\n","readmeFilename":"README.md"}