{"action":"closed","issue":{"url":"https://api.github.com/repos/wallabyjs/public/issues/855","repository_url":"https://api.github.com/repos/wallabyjs/public","labels_url":"https://api.github.com/repos/wallabyjs/public/issues/855/labels{/name}","comments_url":"https://api.github.com/repos/wallabyjs/public/issues/855/comments","events_url":"https://api.github.com/repos/wallabyjs/public/issues/855/events","html_url":"https://github.com/wallabyjs/public/issues/855","id":187020702,"number":855,"title":"Wallaby.js doesn't work with webpack 2  (angular2-webpack-starter)","user":{"login":"7Silvan","id":1195994,"avatar_url":"https://avatars.githubusercontent.com/u/1195994?v=3","gravatar_id":"","url":"https://api.github.com/users/7Silvan","html_url":"https://github.com/7Silvan","followers_url":"https://api.github.com/users/7Silvan/followers","following_url":"https://api.github.com/users/7Silvan/following{/other_user}","gists_url":"https://api.github.com/users/7Silvan/gists{/gist_id}","starred_url":"https://api.github.com/users/7Silvan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/7Silvan/subscriptions","organizations_url":"https://api.github.com/users/7Silvan/orgs","repos_url":"https://api.github.com/users/7Silvan/repos","events_url":"https://api.github.com/users/7Silvan/events{/privacy}","received_events_url":"https://api.github.com/users/7Silvan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-03T10:19:53Z","updated_at":"2016-11-03T10:23:47Z","closed_at":"2016-11-03T10:23:47Z","body":"### Issue description or question\r\nWallaby.js doesn't work with webpack 2  (trying to use config from angular2-webpack-starter with webpack 1)\r\n\r\nerror in the console says:\r\n\r\n```\r\nPostprocessor run failure: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.\r\n - configuration.resolve has an unknown property 'modulesDirectories'. These properties are valid:\r\n   object { alias?, aliasFields?, cachePredicate?, descriptionFiles?, enforceExtension?, enforceModuleExtension?, extensions?, fileSystem?, mainFields?, mainFiles?, moduleExtensions?, modules?, plugins?, resolver?, symlinks?, unsafeCache? }\r\n - configuration.resolveLoader has an unknown property 'modulesDirectories'. These properties are valid:\r\n   object { alias?, aliasFields?, cachePredicate?, descriptionFiles?, enforceExtension?, enforceModuleExtension?, extensions?, fileSystem?, mainFields?, mainFiles?, moduleExtensions?, modules?, plugins?, resolver?, symlinks?, unsafeCache? }\r\n```\r\n\r\npart of package.json:\r\n```\r\n \"wallaby-webpack\": \"0.0.23\",\r\n    \"webpack\": \"2.1.0-beta.25\",\r\n    \"webpack-dev-middleware\": \"^1.6.1\",\r\n    \"webpack-dev-server\": \"^2.1.0-beta.9\",\r\n    \"webpack-md5-hash\": \"^0.0.5\",\r\n    \"webpack-merge\": \"^0.15.0\"\r\n```\r\n### Wallaby.js configuration file\r\n\r\n```javascript\r\nvar wallabyWebpack = require('wallaby-webpack');\r\nvar webpack = require('webpack');\r\n\r\nvar webpackPostprocessor = wallabyWebpack({\r\n  entryPatterns: [\r\n    'config/spec-bundle.js',\r\n    'src/**/*spec.js'\r\n  ],\r\n  module: {\r\n    loaders: [\r\n      {test: /\\.css$/, loader: 'raw-loader'},\r\n      {test: /\\.html$/, loader: 'raw-loader'},\r\n      {test: /karma-require/, loader: 'null'}\r\n    ]\r\n  },\r\n  plugins: [\r\n    new webpack.ProvidePlugin({\r\n      $: 'jquery',\r\n      jQuery: 'jquery',\r\n      'window.jQuery': 'jquery',\r\n      'window.jquery': 'jquery'\r\n    })\r\n  ]\r\n});\r\n\r\nmodule.exports = function () {\r\n\r\n  return {\r\n    debug: true,\r\n    files: [\r\n      {pattern: 'config/spec-bundle.js', load: false},\r\n      {pattern: 'config/karma-require.js', load: false},\r\n      {pattern: 'src/**/*.ts', load: false},\r\n      {pattern: 'src/**/*.css', load: false},\r\n      {pattern: 'src/**/*.html', load: false},\r\n      {pattern: 'src/**/*spec.ts', ignore: true},\r\n      {pattern: 'src/**/*.d.ts', ignore: true},\r\n      {pattern: 'node_modules/**/*.js', ignore: true, instrument: false}\r\n    ],\r\n\r\n    tests: [\r\n      {pattern: 'src/**/*spec.ts', load: false},\r\n      {pattern: 'test/**/*spec.ts', load: false},\r\n      {pattern: 'node_modules/**/*.js', ignore: true, instrument: false}\r\n    ],\r\n\r\n    testFramework: 'jasmine',\r\n\r\n    // env: {\r\n    //   runner: require('phantomjs-prebuilt').path,\r\n    //   params: { runner: '--web-security=false' }\r\n    // },\r\n\r\n    postprocessor: webpackPostprocessor,\r\n\r\n    setup: function () {\r\n      window.__moduleBundler.loadTests();\r\n    }\r\n  };\r\n};\r\n```\r\n\r\n### Code editor or IDE name and version\r\n\r\nWebStorm v11\r\n\r\n### OS name and version\r\n\r\nWindows\r\nOSX\r\n\r\n\r\n"}}
{"actor":{"display_login":"ArtemGovorov"}}