Babel has stage presets to enforce rules about which transformations should be made to JavaScript files. Learn how stage presets correspond to the acceptance stages in the ECMAScript spec.
- [Instructor] To talk about a few other presets…that we can use, let's first introduce TC39.…TC39 is the ECMAScript committee that's responsible…for deciding what should be included…in the ECMAScript language specification.…Members of the committee and the community at large…will suggest ideas for new language features.…Then these proposals go through a series…of acceptance stages, zero to three.…The higher the number, the closer it is to acceptance.…So stage four means that a proposal has been accepted.…
Stage three means it's really close.…So generally once a proposal advances to the spec,…browsers will implement those features.…Some browsers will implement features that are still…going through the process, at stages one, two, or three.…So as developers, we could wait for all of these features…to be implemented, or we can use Babel…to transform new JavaScript…into browser-compatible JavaScript.…So let's take a look at how we would make use…of some of these features.…
So let's say I really, really want to use…
Author
Released
12/4/2017- What is webpack?
- Running webpack from the command line
- Setting up loaders
- Loading CSS
- Compiling SCSS
- Using webpack plugins
Skill Level Intermediate
Duration
Views
Related Courses
-
Workflow Tools for Web Developers
with Christina Truong1h 13m Intermediate
-
Introduction
-
Welcome34s
-
-
1. What is webpack?
-
What is webpack?1m 59s
-
Installing webpack3m 1s
-
Creating a webpack config3m 40s
-
Using npm build scripts1m 18s
-
Using a watch command2m 1s
-
-
2. webpack Loaders
-
What is a loader?1m 17s
-
Setting up babel-loader3m 40s
-
Using babel presets2m 44s
-
Using babel-loader for React4m 12s
-
-
3. webpack and CSS
-
Loading CSS with webpack4m 44s
-
Compiling SCSS3m 17s
-
Loading images3m 22s
-
-
4. webpack Plugins
-
What is code splitting?1m 2s
-
Adding multiple entry points5m 52s
-
Bundling vendor files2m 41s
-
-
Conclusion
-
Next steps1m 1s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Using babel presets