debugger-loader

1.1.1 • Public • Published

Debugger loader for Webpack

Load debug via Webpack loader.

Nice to use for single-line debug imports with ES6 syntax.

Installation

npm install debugger-loader

Usage

import debug from 'debugger?myapp!';
 
debug( 'Success!' );
 
// Equivalent to:
 
var debug = require( 'debug' )( 'myapp' );
 
debug( 'Success!' );

Documentation: Using loaders

License

MIT (http://www.opensource.org/licenses/mit-license.php)

Readme

Keywords

none

Package Sidebar

Install

npm i debugger-loader

Weekly Downloads

1

Version

1.1.1

License

MIT

Last publish

Collaborators

  • aduth