You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NODE_ENV=development webpack-cli --migrate ./webpack.config.js ./webpack.config.js
/Users/arosenthal/dev/webpack-cli/lib/transformations/loaderOptionsPlugin/loaderOptionsPlugin.js:22
.filter(path => path.parent.value.key.name === 'plugins')
^
TypeError: Cannot read property 'name' of undefined
at ast.find.filter.path (/Users/arosenthal/dev/webpack-cli/lib/transformations/loaderOptionsPlugin/loaderOptionsPlugin.js:22:40)
at Array.filter (native)
at Collection.filter (/Users/arosenthal/dev/webpack-cli/node_modules/jscodeshift/dist/Collection.js:65:46)
at module.exports (/Users/arosenthal/dev/webpack-cli/lib/transformations/loaderOptionsPlugin/loaderOptionsPlugin.js:22:4)
at transforms.forEach.f (/Users/arosenthal/dev/webpack-cli/lib/transformations/index.js:40:26)
at Array.forEach (native)
at transform (/Users/arosenthal/dev/webpack-cli/lib/transformations/index.js:40:13)
at module.exports (/Users/arosenthal/dev/webpack-cli/lib/migrate.js:9:23)
at Object.<anonymous> (/Users/arosenthal/dev/webpack-cli/bin/webpack.js:171:30)
at Module._compile (module.js:570:32)
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
it transforms the config in to an wp2 compatible one.
Please mention other relevant information such as the browser version, Node.js version, Operating System and programming language.
node: v6.9.1
OS: OS X El Capitan 10.11.6
@TheLarkInn asked me to post this as an issue here. Let me know if you need any more info. Thanks!
The text was updated successfully, but these errors were encountered:
Do you want to request a feature or report a bug?
bug
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce.
^^^ do that with this config:
What is the expected behavior?
it transforms the config in to an wp2 compatible one.
Please mention other relevant information such as the browser version, Node.js version, Operating System and programming language.
node: v6.9.1
OS: OS X El Capitan 10.11.6
@TheLarkInn asked me to post this as an issue here. Let me know if you need any more info. Thanks!
The text was updated successfully, but these errors were encountered: