Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.

Latest commit

 

History

History
executable file
·
23 lines (17 loc) · 627 Bytes

README.md

File metadata and controls

executable file
·
23 lines (17 loc) · 627 Bytes

eol-loader

eol-loader, inspired by gulp-eol, is a webpack loader that serves two purposes:

  1. Replaces all end of line characters with the appropriate EOL character for your platform, as determined by os.EOL.
  2. Adds a newline to the end of files that lack one.

###Example:

In your webpack config:

{
    module: {
        loaders: [
            { loader: "eol-loader" }
        ]
    }
};

For more information on how to configure loaders, visit webpack's documentation.