0.3.2 • Published 9 years ago

entry-file-loader v0.3.2

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

entry file loader for webpack

Build Status node.js License

DEPRECATED in favor of extract-file-loader

The entry-file-loader does the same as file-loader plus adds the generated assets to their appropriate chunk file list. This can be handy in combination with assets-webpack-plugin.

Usage

Documentation: Using loaders

const EntryFilePlugin = require('entry-file-loader/Plugin');

module.exports = {
    entry: {
        image: '!!entry-file!./image.png' // !! disables other loaders in case some loaders are registered (like file-loader)
    },
    plugins: [new EntryFilePlugin]
};
0.3.2

9 years ago

0.3.1

9 years ago

0.3.0

9 years ago

0.2.0

9 years ago

0.1.0

9 years ago