Skip to content

Created app has Webpack1 instead of Webpack2 #1599

Closed
@sublimeye

Description

@sublimeye

Description

When I create a new "react-app" webpack1 is still being used, even though I noticed that an upgrade from webpack1 to webpack2 was about a week ago.

Expected behavior

Should use webpack": "2.2.1 (or whatever is specified under packages/react-scripts/package.json)

Actual behavior

When I create an app I see that webpack@1.14.0 in yarn installation logs.
When I eject the app it uses� webpack@1.14 as well.

Environment

Run these commands in the project folder and fill in their results:
└── react-scripts@0.9.0
$ node -v v7.0.0
$ npm -v 4.2.0
$ yarn --version 0.17.10 // tried to do yarn cache clean as well

Then, specify:

  1. osx 10.12.3
  2. --/--

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions