auto-module-name-loader

0.2.2 • Public • Published

auto-module-name-loader

Overwrites module id with module name in webpack module magic object

module.exports = {
  entry: './index.js',
  output: {
    path: __dirname,
    filename: 'bundle.js'
  },
  module: {
    loaders: [
      { test: /\.js$/, loader: 'auto-module-name' }
    ]
  }
}

Package Sidebar

Install

npm i auto-module-name-loader

Weekly Downloads

7

Version

0.2.2

License

ISC

Last publish

Collaborators

  • gcaires
  • rchaves