{"action":"created","issue":{"url":"https://api.github.com/repos/zinserjan/mocha-webpack/issues/142","repository_url":"https://api.github.com/repos/zinserjan/mocha-webpack","labels_url":"https://api.github.com/repos/zinserjan/mocha-webpack/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/zinserjan/mocha-webpack/issues/142/comments","events_url":"https://api.github.com/repos/zinserjan/mocha-webpack/issues/142/events","html_url":"https://github.com/zinserjan/mocha-webpack/issues/142","id":236177548,"number":142,"title":"Is it possible to use the DllReferencePlugin with mocha-webpack?","user":{"login":"derekdon","id":190318,"avatar_url":"https://avatars3.githubusercontent.com/u/190318?v=4","gravatar_id":"","url":"https://api.github.com/users/derekdon","html_url":"https://github.com/derekdon","followers_url":"https://api.github.com/users/derekdon/followers","following_url":"https://api.github.com/users/derekdon/following{/other_user}","gists_url":"https://api.github.com/users/derekdon/gists{/gist_id}","starred_url":"https://api.github.com/users/derekdon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekdon/subscriptions","organizations_url":"https://api.github.com/users/derekdon/orgs","repos_url":"https://api.github.com/users/derekdon/repos","events_url":"https://api.github.com/users/derekdon/events{/privacy}","received_events_url":"https://api.github.com/users/derekdon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-06-15T12:41:55Z","updated_at":"2017-07-19T19:01:54Z","closed_at":null,"body":"This kind of thing...\r\n```\r\nconst vendorDll = paths.project.dll('vendor.dll.js');\r\n...\r\nconst child = spawn(\r\n    'node',\r\n    [\r\n        mochaWebpack,\r\n        '--opts', mochaOptsPath,\r\n        '--colors',\r\n        '--webpack-config', testConfig,\r\n        '--require', vendorDll,\r\n        '--require', 'source-map-support/register',\r\n        '--require', setup,\r\n        testGlob\r\n    ],\r\n    ...\r\n);\r\n```\r\n```\r\nmodule.exports = {\r\n    target: 'node',\r\n    externals: [nodeExternals()],\r\n    plugins: [\r\n        new webpack.DllReferencePlugin({\r\n            context: paths.project.dll(),\r\n            manifest: require(paths.project.dll('vendor.manifest.json'))\r\n        }),\r\n    ],\r\n```"},"comment":{"url":"https://api.github.com/repos/zinserjan/mocha-webpack/issues/comments/316484906","html_url":"https://github.com/zinserjan/mocha-webpack/issues/142#issuecomment-316484906","issue_url":"https://api.github.com/repos/zinserjan/mocha-webpack/issues/142","id":316484906,"user":{"login":"markerikson","id":1128784,"avatar_url":"https://avatars1.githubusercontent.com/u/1128784?v=4","gravatar_id":"","url":"https://api.github.com/users/markerikson","html_url":"https://github.com/markerikson","followers_url":"https://api.github.com/users/markerikson/followers","following_url":"https://api.github.com/users/markerikson/following{/other_user}","gists_url":"https://api.github.com/users/markerikson/gists{/gist_id}","starred_url":"https://api.github.com/users/markerikson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markerikson/subscriptions","organizations_url":"https://api.github.com/users/markerikson/orgs","repos_url":"https://api.github.com/users/markerikson/repos","events_url":"https://api.github.com/users/markerikson/events{/privacy}","received_events_url":"https://api.github.com/users/markerikson/received_events","type":"User","site_admin":false},"created_at":"2017-07-19T19:01:54Z","updated_at":"2017-07-19T19:01:54Z","body":"The main point of DLL bundles is to remove the need for Webpack to always process a given set of files, as well as build cacheable artifacts.  I'm using the Cesium 3D globe library, which is a very large library (the bundle is around 2MB minified).  At the moment, I'm pretty sure that the basic mocha-webpack test setup is having to process all of Cesium when it does compiles for tests, and I'd like to see if I can avoid that."}}
{"actor":{"display_login":"markerikson"}}