Skip to content

yuanyan/haste-resolver-webpack-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

haste-resolver-webpack-plugin npm version

Haste resolver plugin for webpack

var HasteResolverPlugin = require('haste-resolver-webpack-plugin');

module.exports = {
  plugins: [
    new HasteResolverPlugin({
      platform: 'web',
      nodeModules: ['react-web', 'react-button']
    }),
  ]
};

Options

  • roots Array. Default is [process.cwd()]
  • platform String - web/ios/android. Default is web
  • blacklist Array. Directory or file to ignore.
  • nodeModules Array. Node modules should crawl.
  • preferNativePlatform Boolean. Default is true

About

Haste Resolver Webpack Plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published