{"_id":"@beisen/talent-ui-dll-webpack-config","_rev":"13-5a63c2e3f6abc4b0f65565912e2e6cea","name":"@beisen/talent-ui-dll-webpack-config","dist-tags":{"latest":"1.1.5"},"versions":{"1.0.0":{"name":"@beisen/talent-ui-dll-webpack-config","version":"1.0.0","main":"webpack.config.js","author":{"name":"Liguoming","email":"liguoming@beisen.com"},"license":"MIT","dependencies":{"webpack":"^2.6.1","@beisen/talent-ui-dll-naming-convention":"^1.0.0"},"gitHead":"5f730416ebb0343ca7860fb3108b9a7faae82571","_id":"@beisen/talent-ui-dll-webpack-config@1.0.0","scripts":{},"_shasum":"a9fd03602cbdce4e9b3df9fb819334d7529ec81d","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"beisen","email":"ci@beisen.com"},"dist":{"shasum":"a9fd03602cbdce4e9b3df9fb819334d7529ec81d","tarball":"https://registry.npmjs.org/@beisen/talent-ui-dll-webpack-config/-/talent-ui-dll-webpack-config-1.0.0.tgz","integrity":"sha512-8nCn/n+v7Xgih4+e4ujoxarmhfrN6inWVK/FkmKxZ3lfvT7Munc/pPZw7snlHAyB60cKgFwWc7SY+sJcAkyPcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDGGBAftOLaONmCI0IJzDiCOO2FN4P4c9CvZJJPCjsSQIhAPCQ85h82d3XuYQyEOOOLaiNoVvTgqE/TIF5plvqdPsX"}]},"maintainers":[{"name":"beisen","email":"ci@beisen.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/talent-ui-dll-webpack-config-1.0.0.tgz_1497600467931_0.47656443319283426"}},"1.0.1":{"name":"@beisen/talent-ui-dll-webpack-config","version":"1.0.1","main":"webpack.config.js","author":{"name":"Liguoming","email":"liguoming@beisen.com"},"license":"MIT","dependencies":{"webpack":"^2.6.1","@beisen/talent-ui-dll-naming-convention":"^1.0.0"},"gitHead":"3667e316c393c3f2ccaf97832ee77c53af44d2a0","_id":"@beisen/talent-ui-dll-webpack-config@1.0.1","scripts":{},"_shasum":"72cf47bea489ad1a4eb6bc02a9d6eb8de044e7f6","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"beisen","email":"ci@beisen.com"},"dist":{"shasum":"72cf47bea489ad1a4eb6bc02a9d6eb8de044e7f6","tarball":"https://registry.npmjs.org/@beisen/talent-ui-dll-webpack-config/-/talent-ui-dll-webpack-config-1.0.1.tgz","integrity":"sha512-B5wfPamOWMadHuXrqTH7n1ZkwZD2UbQpGaTEc1GJlRChtazrqHsjqH6amm+2dxEnXWa9HIvtnzkkMgycbrQoww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGdaon0jn2cKFt2oIY3jtSMSkrWEMlkXo+i9BLF+t0qQIhANo169ooYWKC+q7cqhAis8HkM2FKfNIWfL0pRWqRIgr3"}]},"maintainers":[{"name":"beisen","email":"ci@beisen.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/talent-ui-dll-webpack-config-1.0.1.tgz_1497600845798_0.5287880809046328"}},"1.0.2":{"name":"@beisen/talent-ui-dll-webpack-config","version":"1.0.2","main":"webpack.config.js","author":{"name":"Liguoming","email":"liguoming@beisen.com"},"license":"MIT","dependencies":{"webpack":"^2.6.1","@beisen/talent-ui-dll-naming-convention":"^1.0.0"},"gitHead":"ad6714f890356e7e5f66695d2aac72ffe9102c7f","_id":"@beisen/talent-ui-dll-webpack-config@1.0.2","scripts":{},"_shasum":"4980610eb2f3625bc8881866ee1a592b85d8e588","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"beisen","email":"ci@beisen.com"},"dist":{"shasum":"4980610eb2f3625bc8881866ee1a592b85d8e588","tarball":"https://registry.npmjs.org/@beisen/talent-ui-dll-webpack-config/-/talent-ui-dll-webpack-config-1.0.2.tgz","integrity":"sha512-GW2TgphwwZfQnOgHdWeLx/xK5Bcyq9jOruwoc4oM74lUEUxa3GaH1ZXJooopuERPz00TtJjOg8J6Zlg7OUsMlQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGGw4v05JQIYvcyxszErlehXPho8nS1lKhzEr7BbOx/3AiAQhAhWpI/fDfZNBUrghnPHBXH5U6xb6m1lw3RlZIKlcA=="}]},"maintainers":[{"name":"beisen","email":"ci@beisen.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/talent-ui-dll-webpack-config-1.0.2.tgz_1497601198632_0.15296947490423918"}},"1.0.3":{"name":"@beisen/talent-ui-dll-webpack-config","version":"1.0.3","main":"webpack.config.js","author":{"name":"Liguoming","email":"liguoming@beisen.com"},"license":"MIT","dependencies":{"webpack":"^2.6.1","@beisen/talent-ui-dll-naming-convention":"^1.0.0"},"gitHead":"eb719ce2dcf09e249fffad93181ea3f30c38fe79","_id":"@beisen/talent-ui-dll-webpack-config@1.0.3","scripts":{},"_shasum":"e79bd82909cc910480ad148c0d898a73df3c79fa","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"beisen","email":"ci@beisen.com"},"dist":{"shasum":"e79bd82909cc910480ad148c0d898a73df3c79fa","tarball":"https://registry.npmjs.org/@beisen/talent-ui-dll-webpack-config/-/talent-ui-dll-webpack-config-1.0.3.tgz","integrity":"sha512-UAnL+mEoPE6EeGGSDan3P7vuDSRhbpQRS8Q07UmknrL2ktIDeVBnX2H22KWwtlypwE8MrAfr43Aj+r4Osr9toA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEIITb5ulFocFlkKFpEA01QR3es/VDbddCQpNtdTkTTlAiBFrmhLobdZDmJ5segWn2hIB3nRG7BpKSWAa0UeEuIQuA=="}]},"maintainers":[{"name":"beisen","email":"ci@beisen.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/talent-ui-dll-webpack-config-1.0.3.tgz_1497601739858_0.011301247403025627"}},"1.0.4":{"name":"@beisen/talent-ui-dll-webpack-config","version":"1.0.4","main":"webpack.config.js","author":{"name":"Liguoming","email":"liguoming@beisen.com"},"license":"MIT","dependencies":{"webpack":"^2.6.1","@beisen/talent-ui-dll-naming-convention":"^1.0.0"},"gitHead":"3210a7eceb9e4235cfb245f8bb9b7ee27c76ec3f","description":"## 说明","_id":"@beisen/talent-ui-dll-webpack-config@1.0.4","scripts":{},"_shasum":"afea810f7e03797ecc1c94174fee415f4e006c29","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"beisen","email":"ci@beisen.com"},"dist":{"shasum":"afea810f7e03797ecc1c94174fee415f4e006c29","tarball":"https://registry.npmjs.org/@beisen/talent-ui-dll-webpack-config/-/talent-ui-dll-webpack-config-1.0.4.tgz","integrity":"sha512-4BE18YWfsSNpvAMeSU6+6B5BT1g9gwlgjjxvoaAplLyZPrWeVtje9jBcW5P3Aag82901/ixX8vOJ1CX/hodHcg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCr3iGPzofunsf1JmS6gAcTAexM4LzzQmDmaN//AOBZFwIgNB+11Re2sGvIwxZ+jzIEraTTb4IYT8/DKLOECuThRv0="}]},"maintainers":[{"name":"beisen","email":"ci@beisen.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/talent-ui-dll-webpack-config-1.0.4.tgz_1497608040714_0.59257942577824"}},"1.1.0":{"name":"@beisen/talent-ui-dll-webpack-config","version":"1.1.0","main":"webpack.config.js","author":{"name":"Liguoming","email":"liguoming@beisen.com"},"license":"MIT","dependencies":{"@beisen/talent-ui-dll-naming-convention":"^1.0.0","webpack":"^3.0.0"},"gitHead":"8adcfbcac0cd3e90bf6645f2a27711976bb3141c","description":"## 说明","_id":"@beisen/talent-ui-dll-webpack-config@1.1.0","scripts":{},"_shasum":"7cfe7c6a809e4ac29545ee335efd8ba5958defeb","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"beisen","email":"ci@beisen.com"},"dist":{"shasum":"7cfe7c6a809e4ac29545ee335efd8ba5958defeb","tarball":"https://registry.npmjs.org/@beisen/talent-ui-dll-webpack-config/-/talent-ui-dll-webpack-config-1.1.0.tgz","integrity":"sha512-u3FgDrKzDho3xGpMlZB9ssV2y4t1ouc5Z++uh05XRCt4Xgz1rpVJYrJ4RpC5MFoAhRCunx+mKLzfXuu/XTbn4A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcVZ0BKRYE+FAb65QDohuyqhkd2gMfNWFjaHUPRtatmgIgBFy3yoJ6PYLa4ZJTXKO4uW1WINBAU2isVylUxlpzxME="}]},"maintainers":[{"name":"beisen","email":"ci@beisen.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/talent-ui-dll-webpack-config-1.1.0.tgz_1497945953124_0.8206781754270196"}},"1.1.1":{"name":"@beisen/talent-ui-dll-webpack-config","version":"1.1.1","main":"webpack.config.js","author":{"name":"Liguoming","email":"liguoming@beisen.com"},"license":"MIT","dependencies":{"@beisen/talent-ui-dll-naming-convention":"^1.0.0","webpack":"^3.0.0"},"gitHead":"4728e72703a26b47986f707e16af9219cf553df1","description":"## 说明","_id":"@beisen/talent-ui-dll-webpack-config@1.1.1","scripts":{},"_shasum":"ff2ca6dc8a876b2bc80ff6e92ceba0352008ef5b","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"beisen","email":"ci@beisen.com"},"dist":{"shasum":"ff2ca6dc8a876b2bc80ff6e92ceba0352008ef5b","tarball":"https://registry.npmjs.org/@beisen/talent-ui-dll-webpack-config/-/talent-ui-dll-webpack-config-1.1.1.tgz","integrity":"sha512-5MKFKrjY72TxLXH7wTDJcOLddsY8L2xhJQh1WTJOZdOeptrGCKoI6uU6lGo1t179lg4xP3XYUVgPlL3CqW5dMw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVhSojtY3oVd0dwyICLfCA7p7OkQ0JEuleZPGnV4ZIcgIgEGwKHKWs2Kv0riH97MkQ/tuWvPgTUHGVzsJVTLU6Q7g="}]},"maintainers":[{"name":"beisen","email":"ci@beisen.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/talent-ui-dll-webpack-config-1.1.1.tgz_1499052901173_0.050142650958150625"}},"1.1.2":{"name":"@beisen/talent-ui-dll-webpack-config","version":"1.1.2","main":"webpack.config.js","author":{"name":"Liguoming","email":"liguoming@beisen.com"},"license":"MIT","dependencies":{"@beisen/talent-ui-dll-naming-convention":"^1.0.0","webpack":"^3.0.0"},"gitHead":"8d46171e57a5310d59a30138a69d436312fe5d9c","description":"## 说明","_id":"@beisen/talent-ui-dll-webpack-config@1.1.2","scripts":{},"_shasum":"0810c5f7c3bab85415c073cd64347c5a3e20c342","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"beisen","email":"ci@beisen.com"},"dist":{"shasum":"0810c5f7c3bab85415c073cd64347c5a3e20c342","tarball":"https://registry.npmjs.org/@beisen/talent-ui-dll-webpack-config/-/talent-ui-dll-webpack-config-1.1.2.tgz","integrity":"sha512-/DvHRd5bXJ6STCihVn+ME6VMe/3zTAe+uN7G33VvQCYF8iy3Ip6mDbEkbIvuto/QcnTjmZvuMTVzlGtNjk2AEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCo7IhQvNLnBuiHktL8PO7Uenj/kQJmXODSlv2YnZfL9QIhAM+F4ukakdURStA2XUofdDUtzZ89mFEanV0xPVUBWFg8"}]},"maintainers":[{"name":"beisen","email":"ci@beisen.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/talent-ui-dll-webpack-config-1.1.2.tgz_1499070528256_0.6682287428993732"}},"1.1.3":{"name":"@beisen/talent-ui-dll-webpack-config","version":"1.1.3","main":"webpack.config.js","author":{"name":"Liguoming","email":"liguoming@beisen.com"},"license":"MIT","dependencies":{"@beisen/talent-ui-dll-naming-convention":"^1.0.0","webpack":"^3.0.0"},"gitHead":"514d9ed70f1b24e5bc87f85fb54d2aa0300b6158","description":"## 说明","_id":"@beisen/talent-ui-dll-webpack-config@1.1.3","scripts":{},"_shasum":"1928adde366dd969994e6ba5ed07990f25c3c706","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"beisen","email":"ci@beisen.com"},"dist":{"shasum":"1928adde366dd969994e6ba5ed07990f25c3c706","tarball":"https://registry.npmjs.org/@beisen/talent-ui-dll-webpack-config/-/talent-ui-dll-webpack-config-1.1.3.tgz","integrity":"sha512-Ym6Fne5fpS0QnznP0QdT1dezo4H9LFHTj32ycvxyy24eb1L1Ofjd+i8EL4m4NhX2gscKmb/c6fniQWMsMO2/JQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGmbDMSw+YOgmcwamE7qmZjpeneypsTQJgzhGNJtprYhAiAztKpzNPerCvQVdSvDzFtq1cT57RHO0xEAEBQpSQ6R0A=="}]},"maintainers":[{"name":"beisen","email":"ci@beisen.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/talent-ui-dll-webpack-config-1.1.3.tgz_1499071530964_0.05952594568952918"}},"1.1.4":{"name":"@beisen/talent-ui-dll-webpack-config","version":"1.1.4","main":"webpack.config.js","author":{"name":"Liguoming","email":"liguoming@beisen.com"},"license":"MIT","dependencies":{"@beisen/talent-ui-dll-naming-convention":"^1.0.1","webpack":"^3.0.0"},"gitHead":"3fad6f355fb19d3ec0b735db4c9b2273d61331b1","description":"## 说明","_id":"@beisen/talent-ui-dll-webpack-config@1.1.4","scripts":{},"_shasum":"6bef03cb7980bc36f9d2fd6c54783d20eb993376","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"beisen","email":"ci@beisen.com"},"dist":{"shasum":"6bef03cb7980bc36f9d2fd6c54783d20eb993376","tarball":"https://registry.npmjs.org/@beisen/talent-ui-dll-webpack-config/-/talent-ui-dll-webpack-config-1.1.4.tgz","integrity":"sha512-GjROxNJkPa6D2DaDd6BNU9VaitSpdRCECV4ouGuxJYrTToch5eUkWalobhexMs2uGohunJ5iSlaJtMnIHqwoKA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEr5xFB9uKigO0TM4F0dOzQqjQdxew9W1/xE9025AlSzAiEA7QtzNVY8V60DKcJWOFjUFBbuks6t0TDMlwaeDWPhFF0="}]},"maintainers":[{"name":"beisen","email":"ci@beisen.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/talent-ui-dll-webpack-config-1.1.4.tgz_1499829218170_0.4596706018783152"}},"1.1.5":{"name":"@beisen/talent-ui-dll-webpack-config","version":"1.1.5","main":"webpack.config.js","author":{"name":"Liguoming","email":"liguoming@beisen.com"},"license":"MIT","dependencies":{"@beisen/talent-ui-dll-naming-convention":"^1.0.1","webpack":"^3.0.0"},"gitHead":"aa7b49a777d6f5c794572292237b44f620af5c1e","description":"## 说明","_id":"@beisen/talent-ui-dll-webpack-config@1.1.5","scripts":{},"_shasum":"145d3a4c0bab8b72ac83a0d9c25a466c1de3387c","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"beisen","email":"ci@beisen.com"},"dist":{"shasum":"145d3a4c0bab8b72ac83a0d9c25a466c1de3387c","tarball":"https://registry.npmjs.org/@beisen/talent-ui-dll-webpack-config/-/talent-ui-dll-webpack-config-1.1.5.tgz","integrity":"sha512-JEK0o+UZU+jvDuTgO7CxbERng3vLqXOjSKKce+e8Im2SIFR1NpvAz0ppjDAr1PhXdOjCUPfHrf4zWhETNS5w4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+ISYEQAnfXHcuUrXXCEpNCGXjYlzFz/xIetrK+dP98QIgZvZrm3bqv7MeVHjv6ZZExSpmoASJEAuOvpYB6dRtkVc="}]},"maintainers":[{"name":"beisen","email":"ci@beisen.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/talent-ui-dll-webpack-config-1.1.5.tgz_1499843007961_0.7924054490868002"}}},"readme":"# talent-ui-dll-webpack-config\n\n## 说明\n\n用来协助生成talent-ui 2.0可以自动识别的dll的工具， 你可以自己配置[DllPlugin](https://webpack.js.org/plugins/dll-plugin/)来生成Dll, 但是talent-ui-dll-webpack-config集成了一套统一的逻辑和命名规则，可以让[talent-ui-webpack-config](http://gitlab.beisencorp.com/ux-cnpm/talent-ui-webpack-config)自动识别出文件路径。并且可以自动根据生产或者开发环境自动选取对应文件。\n\n\b输出的dll文件名称是\b通过读取dll项目的package.json中的name和version并交给 [talent-ui-dll-naming-convention](http://gitlab.beisencorp.com/ux-cnpm/talent-ui-dll-naming-convention)来自动生成。在**talent-ui-webpack-config\u001d**中也使用了这个**naming-convention**。所以通过talent-ui-dll-webpack-config生成的dll被\b自动识别出来。\n\n\b通过talent-ui-dll-webpack-config生成的dll会同时输出生产环境和开发环境的dll, 开发环境的dll, 使用了NamedModulePlugin，而生成环境的dll没有使用NamedModulePlugin， 使用了UglifyJSPlugin来压缩输出代码。\n\n## 应用\n\n\b初始化项目：\n\n```bash\n    yarn init -y\n```\n\n安装talent-ui-dll-webpack-config\n\n```bash\n    yarn add @beisen/talent-ui-dll-webpack-config --dev\n    \n```\n\n在你的应用项目下面创建webpack.config.js\n\n```js\n    const dllWebpackConfig = require('@beisen/talent-ui-dll-webpack-config');\n    const path = require('path');\n\n    module.exports = dllWebpackConfig({\n        root: path.resove(__dirname /**/) //这里统一为项目的根目录，方便使用统一的context,\n        venders: require('./vender-list')\n    })\n\n```\n\n创建vender-list.js\n\n```js\n    module.exports = [\n        'react',\n        'react-dom',\n        ...所有你\b想引进来的库\n    ]\n\n```\n\n安装你需要打包的库\n\n```bash\n    yarn add react react-dom ....\n```\n\n\b执行打包：\n\n```bash\n    webpack -c webpack/webpack.config.js\n```\n\n查看输出文件，假如你package.json中的name是 qd-fed-dll, 版本号是1.0.0, 则输出的文件应该包含：\n\n```js\n    //生产环境\b带版本号\n    - qd-fed-dll-1.0.0.min.js\n    - qd-fed-dll-1.0.0.manifest.json\n    //开发环境不带版本号\n    - qd-fed-dll.dev.js\n    - qd-fed-dll.dev.manifest.json\n```","maintainers":[{"email":"ci@beisen.com","name":"beisencorp"}],"time":{"modified":"2022-06-12T15:09:25.378Z","created":"2017-06-16T08:07:48.076Z","1.0.0":"2017-06-16T08:07:48.076Z","1.0.1":"2017-06-16T08:14:06.008Z","1.0.2":"2017-06-16T08:19:58.746Z","1.0.3":"2017-06-16T08:29:00.017Z","1.0.4":"2017-06-16T10:14:00.837Z","1.1.0":"2017-06-20T08:05:54.713Z","1.1.1":"2017-07-03T03:35:01.282Z","1.1.2":"2017-07-03T08:28:48.372Z","1.1.3":"2017-07-03T08:45:31.071Z","1.1.4":"2017-07-12T03:13:39.244Z","1.1.5":"2017-07-12T07:03:28.108Z"},"author":{"name":"Liguoming","email":"liguoming@beisen.com"},"license":"MIT","readmeFilename":"README.md","description":"## 说明"}