Git Product home page Git Product logo

haste-resolver-webpack-plugin's People

Contributors

yuanyan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

haste-resolver-webpack-plugin's Issues

Resolver is importing package.json instead of module

The newest version of haste-resolver-webpack-plugin (0.2.1) seems to be loading react-web's package.json and importing its contents as code instead of loading the actual module.

When i use 0.1.4 i see webpack properly loads react-web's files.

  [396] ./~/react-web/lib/Picker/Picker.web.js 1.88 kB {0} [built]
  [397] ./~/react-web/lib/ProgressView/ProgressView.web.js 2.75 kB {0} [built]
  [398] ./~/react-web/lib/SegmentedControl/SegmentedControl.web.js 5.42 kB {0} [built]
  [399] ./~/react-web/lib/Slider/Slider.web.js 11.7 kB {0} [built]
  [400] ./~/react-web/lib/Switch/Switch.web.js 4.2 kB {0} [built]
  [401] ./~/react-web/lib/TabBar/TabBar.web.js 3.66 kB {0} [built]
  [402] ./~/react-web/lib/TabBar/TabBarItem.web.js 4.17 kB {0} [built]
  [403] ./~/react-web/lib/TabBar/TabBarContents.web.js 1.59 kB {0} [built]
  [404] ./~/react-web/lib/TextInput/TextInput.web.js 11.6 kB {0} [built]
...etc

When i use 0.2.1 i see this line and none of the react-web files

  [242] ./~/react-web/package.json 4.73 kB {0} [built]

If i run this code in my program

console.log(require('react-web'));

I'll see the contents of react-web/package.json

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.