Skip to content

nickdeis/careless-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Careless loader for webpack

Usage

component.js

function SpringMap(props,context){
  var obj = props.obj;
  return (
    <map>
      {Object.keys(obj).map(key => (<entry key={key} value={obj[key]}/>))}
    </map>
  );
};

module.exports = {SpringMap};

entry.js

const springmap = require("careless!./component.js");

About

Careless loader for webpack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published