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

Webpack loader to replace EOL characters with the platform's default character.

License

Notifications You must be signed in to change notification settings

btraut/eol-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Webpack loader to replace EOL characters with the platform's default character.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published