0.1.2 • Published 7 years ago
const-loader v0.1.2
const-loader
A webpack loader that ignores the requested resource contents and returns a const value instead.
Usage
const thing = require('const-loader?val=hello!some-module');
console.log(thing); // => 'hello'