yuanyan / halogen

A collection of loading spinners with React.js
https://yuanyan.github.io/halogen
MIT License
1.6k stars 151 forks source link

Uncaught Error: Cannot find module "./PulseLoader" #5

Closed yonida closed 9 years ago

yonida commented 9 years ago

using webpack and react, installed your plugin (npm install halogen --save) when i add the following line in my code: var Loader = require('halogen/PulseLoader'); I get the error.

yuanyan commented 9 years ago

The origin source is jsx format, it seems should provide a compiled js format.

yuanyan commented 9 years ago

The latest version is work.

.
├── BeatLoader.js
├── BounceLoader.js
├── ClipLoader.js
├── DotLoader.js
├── FadeLoader.js
├── GridLoader.js
├── Halogen.js
├── LICENSE
├── MoonLoader.js
├── PacmanLoader.js
├── PulseLoader.js
├── README.md
├── RingLoader.js
├── RiseLoader.js
├── RotateLoader.js
├── ScaleLoader.js
├── SkewLoader.js
├── SquareLoader.js
├── SyncLoader.js
├── dist
│   ├── halogen.js
│   └── halogen.min.js
├── node_modules
│   └── react-kit
│       ├── README.md
│       ├── appendVendorPrefix.js
│       ├── getVendorPrefix.js
│       ├── getVendorPropertyName.js
│       ├── insertKeyframesRule.js
│       ├── insertRule.js
│       └── package.json
└── package.json