https://github.com/aduth/debugger-loader
Debugger loader for Webpack
https://github.com/aduth/debugger-loader
Last synced: about 1 year ago
JSON representation
Debugger loader for Webpack
- Host: GitHub
- URL: https://github.com/aduth/debugger-loader
- Owner: aduth
- Created: 2016-03-09T01:33:07.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-10T22:57:45.000Z (over 10 years ago)
- Last Synced: 2025-03-13T22:35:06.245Z (over 1 year ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Debugger loader for Webpack
Load [`debug`](https://www.npmjs.com/package/debug) via Webpack loader.
Nice to use for single-line debug imports with ES6 syntax.
## Installation
`npm install debugger-loader`
## Usage
```js
import debug from 'debugger?myapp!';
debug( 'Success!' );
// Equivalent to:
var debug = require( 'debug' )( 'myapp' );
debug( 'Success!' );
```
[Documentation: Using loaders](http://webpack.github.io/docs/using-loaders.html)
## License
MIT (http://www.opensource.org/licenses/mit-license.php)