@activelylearn/eol-loader
v1.0.2
Published
webpack loader to replace all EOL chars with platform-appropriate version, and to add a EOL char at the end of files that lack one
Downloads
4
Readme
eol-loader
eol-loader, inspired by gulp-eol, is a webpack loader that serves two purposes:
- Replaces all end of line characters with the appropriate EOL character for your platform, as determined by os.EOL.
- 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.