Demo
Port of fengyuanchen cropper to react, redux and immutable-js
Under development, please report an issue if you run into some bug
api should be as close as possible to this
Usage
npm i redux-cropper --save
see example here
You also should use these webpack loaders as redux-cropper use css-modules internally (see this PR for details)
{
test: /\.module.scss$/,
loader: 'style-loader!css-loader?modules&importLoaders=2&sourceMap&localIdentName=[local]___[hash:base64:5]!autoprefixer?browsers=last 2 version!sass?outputStyle=expanded&sourceMap'
},
{
test: /^((?!\.module).)*\.scss$/,
loader: 'style!css!sass'
}
Thanks!
@fengyuanchen for his awesome jQuery plugin