react-avatar-edit
Advanced tools
Comparing version 0.5.3 to 0.5.4
@@ -9,3 +9,3 @@ import React from 'react' | ||
super(props) | ||
const src = './example/einshtein.jpg' | ||
const src = SOURCE_PATH + '/einshtein.jpg' | ||
this.state = { | ||
@@ -44,3 +44,3 @@ preview: null, | ||
<div className="col-8"> | ||
<img src="./example/user.png" alt="" style={{ marginTop: '3px', marginRight: '15px', float: 'left', width: '36px', height: '36px'}}/> | ||
<img src={SOURCE_PATH + '/user.png'} alt="" style={{ marginTop: '3px', marginRight: '15px', float: 'left', width: '36px', height: '36px'}}/> | ||
<h1 style={{ marginTop: '3px', color: 'white', fontWeight: 300, fontSize: '2rem'}}>React avatar editor</h1> | ||
@@ -47,0 +47,0 @@ </div> |
{ | ||
"name": "react-avatar-edit", | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"description": "ReactJS component to upload, crop, and preview avatars", | ||
@@ -8,3 +8,4 @@ "main": "src/avatar.jsx", | ||
"start": "webpack-dev-server --open --config webpack.dev.js", | ||
"build": "webpack --config webpack.prod.js --optimize-minimize" | ||
"build": "webpack --config webpack.prod.js --optimize-minimize", | ||
"build:example": "webpack --config webpack.example.js --optimize-minimize" | ||
}, | ||
@@ -11,0 +12,0 @@ "repository": { |
@@ -24,3 +24,6 @@ const path = require('path') | ||
plugins: [ | ||
HtmlWebpackPluginConfig | ||
HtmlWebpackPluginConfig, | ||
new webpack.DefinePlugin({ | ||
SOURCE_PATH: JSON.stringify('./docs') | ||
}) | ||
], | ||
@@ -27,0 +30,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1163398
23
1921
1