New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dev-code-loader

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dev-code-loader

webpack dev mock loader

  • 1.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

dev-code-loader

Write the development code in a commented manner

Usage


Step 1:Install

npm install dev-code-loader --save

Step 2: config webpack.config.js

require('dev-code-loader');
...
loaders: [
    {
        test: /\.js$/,
        loader: 'other-loader!dev-code-loader'
    }
]
...

Then joy your life.

Examples

[source code]  
// devCode const a = 1;
const a = 2;

[Compile code]
const a = 1;
[source code]
// devCode
const a = 2;
const b = 1;

[Compile code]
const b = 1;

License

MIT License

Keywords

FAQs

Package last updated on 30 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc