Become a member
to unlock all features

    Automatically Import CSS in JavaScript with webpack using style-loader and css-loader


    JavaScript files aren't the only type of asset that webpack can bundle. In this lesson, we'll add a CSS file to our boilerplate and then install and configure the appropriate loaders in webpack to handle the CSS that's imported into our project.