Skip to content

Commit af8c659

Browse files
committed
Rebuild dist js
2 parents d424b88 + 01879db commit af8c659

File tree

3 files changed

+17
-16
lines changed

3 files changed

+17
-16
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [0.3.0] - 2018-03-12
8+
### Fix
9+
- Adjust webpack config to ensure when compiled for production, only React production
10+
code is included
11+
12+
### Added
13+
- className support thanks to @tamirkash
14+
715
## [0.2.0] - 2018-03-12
816
### Fix
917
- Webpack config that was causing error(s) when trying to import as a npm package.

dist/ReactCardFlipper.js

Lines changed: 7 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webpack.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ module.exports = env => {
2727
]
2828
},
2929
plugins: [
30-
env.production ? new webpack.optimize.UglifyJsPlugin() : ''
30+
env.production ? new webpack.DefinePlugin({"process.env": {NODE_ENV: JSON.stringify("production")}}) : '',
31+
env.production ? new webpack.optimize.UglifyJsPlugin() : '',
3132
]
3233
}
3334
};

0 commit comments

Comments
 (0)