Skip to content

rincedd/const-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

const-loader

A webpack loader that ignores the requested resource contents and returns a const value instead.

Build Status

Usage

const thing = require('const-loader?val=hello!some-module');

console.log(thing); // => 'hello'