- [Instructor] Now, inside of our…custom react scripts project,…there are two files that deal…with our web pack configuration.…One for development and the other one for production mode.…These files are important because this is where…we're actually going to be making our changes…in terms of setting our stage…for PostCSS as well as including any additional plugins.…So, you can see here is what it actually looks like…right out of the box.…You can see we have our require PostCSS preset-env…and you can see we have the stage set to level three,…that's the default.…
The default for PostCSS in general is two.…What we're going to do is actually lower the stage to zero.…We're going to make use of everything…that is available to us…through the PostCSS preset env package.…Plus, eventually we're going to add…some additional plugins, as well.…Now, are our react applications that we create…with the create react app generator…can run in production mode and development mode.…In development mode our CSS is going to be…hot-loaded using JavaScript.…
Share this video
Embed this video
Video: PostCSS configuration: webpack