Skip to content

Commit

Permalink
update readme versions [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
hzoo authored Nov 1, 2017
1 parent f753765 commit e4f1aee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ __Notes:__ Issues with the output should be reported on the babel [issue tracker

<h2 align="center">Install</h2>

> webpack 3.x | babel-loader >= 7.1
> webpack 3.x | babel-loader 8.x | babel 7.x
```bash
yarn add babel-loader @babel/core @babel/preset-env webpack --dev
npm install babel-loader@8.0.0-beta.0 @babel/core@next @babel/preset-env@next webpack
```

We recommend using yarn, but you can also still use npm:
> webpack 3.x babel-loader 7.x | babel 6.x
```bash
npm install --save-dev babel-loader @babel/core @babel/preset-env webpack
npm install babel-loader babel-core babel-preset-env webpack
```

<h2 align="center">Usage</h2>
Expand Down

13 comments on commit e4f1aee

@g0t4
Copy link

@g0t4 g0t4 commented on e4f1aee Nov 1, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these new scoped package names set in stone now, for v8? Or, is it possible these will change?

@existentialism
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we are switching to scoped packages in v7 (not v8...)

@loganfsmyth
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@babel/core 7.x, babel-loader 8.x :P

@hzoo
Copy link
Member Author

@hzoo hzoo commented on e4f1aee Nov 1, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah this is part of the ordeal we all have to figure out that the other versions are independently versioned (since babel-loader was already v7) 😅

@g0t4
Copy link

@g0t4 g0t4 commented on e4f1aee Nov 1, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, so now would be a good time to update my instructional materials for using babel? As far as the package names are concerned.

@g0t4
Copy link

@g0t4 g0t4 commented on e4f1aee Nov 2, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the loader going to be renamed to@babel/loader?

@loganfsmyth
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@g0t4 I don't think we have a solid decision on that yet. For now it is babel-loader though.

@g0t4
Copy link

@g0t4 g0t4 commented on e4f1aee Nov 2, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be great to do that now or never.

Doing it in the future will be even more confusing for people to figure out what to use.

@loganfsmyth
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These updates only apply to Babel 7.x beta so only people who are explicitly opting in to using the beta need to worry about it. Given that we expect that to be a relatively small chunk of people, we haven't focused on it too much at this point.

@g0t4
Copy link

@g0t4 g0t4 commented on e4f1aee Nov 2, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The babel-notes repo seems to suggest that we're close to an RC on Babel 7.x

Probably last betas, then do RCs for regressions (and ask for wider use) and release?
https://github.com/babel/notes/blob/master/2017-10/oct-25.md#news

So I'm thinking about the 7+ scenario. i.e. is babel-loader going to be used for v8 with @babel/core v7.. and then are we going to see @babel/loader v9 in the future due to a later rename.

So another question then, is babel-loader v8 going to be finalized with babel v7? Or is it going to be a while after babel v7? And if a while, are there yet to be substantial changes to just the loader?

@loganfsmyth
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The babel-notes repo seems to suggest that we're close to an RC on Babel 7.x

I think there's some disagreement on the team about just how stable things should be before we do an RC. I personally want to fix a reasonable list of blockers first, but I believe @hzoo is more motivated to get an RC up.

So I'm thinking about the 7+ scenario. i.e. is babel-loader going to be used for v8 with @babel/core v7.. and then are we going to see @babel/loader v9 in the future due to a later rename.

I don't think I can answer that. I know that isn't super helpful, but no matter what I say we could still change our minds, so I'm hesitant to really say anything firm.

So another question then, is babel-loader v8 going to be finalized with babel v7? Or is it going to be a while after babel v7? And if a while, are there yet to be substantial changes to just the loader?

We'd aim for them to be release in parallel since we want to make upgrading as easy as we can for people. The main change that we're still exploring is changes to how caching is implemented for Babel in general, which would affect cacheDirectory, but otherwise I wouldn't expect sizable change within babel-loader itself, not that there is a ton of logic other than caching anyway.

@g0t4
Copy link

@g0t4 g0t4 commented on e4f1aee Nov 3, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, it's helpful to know what is outstanding.

@souhail-5
Copy link

@souhail-5 souhail-5 commented on e4f1aee Feb 13, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @hzoo. Why it's not

npm install --save-dev babel-loader babel-core babel-preset-env webpack

?

Please sign in to comment.