general improvements

This commit is contained in:
Dylan Vorster
2018-03-17 14:43:35 +02:00
parent c40c5c5919
commit 327dcc190d
4 changed files with 15 additions and 1 deletions

2
.gitignore vendored
View File

@ -1,6 +1,8 @@
dist/ dist/
dist/main.js dist/main.js
dist/main.js.map dist/main.js.map
/package
*.tgz
.out .out

View File

@ -5,6 +5,7 @@ docs
.storybook .storybook
.circleci .circleci
tests tests
*.md
# Created by https://www.gitignore.io/api/net,netbeans,sublimetext,phpstorm,windows,osx,node # Created by https://www.gitignore.io/api/net,netbeans,sublimetext,phpstorm,windows,osx,node

View File

@ -1,3 +1,14 @@
__5.1.0__
* [api] Rename XXXFactory into AbstractXXXFactory
* [refactor] tslint and prettier are now the same
* [refactor] Each class now explicitely has its own class file (consistency)
* [feature] Smooth vertical links (no longer limited to horizontal)
* [feature] Dedicated documentation via gitbook
* [bug] forgot to export some
* [refactor] consistently use lodash where possible
* [maintenance] upgrade node modules
__5.0.0__ http://dylanv.blog/2018/03/03/storm-react-diagrams-5-0-0/ __5.0.0__ http://dylanv.blog/2018/03/03/storm-react-diagrams-5-0-0/
PR: https://github.com/projectstorm/react-diagrams/pull/145 PR: https://github.com/projectstorm/react-diagrams/pull/145

View File

@ -8,7 +8,7 @@ const production = process.env.NODE_ENV === 'production';
if (production) { if (production) {
console.log("creating production build"); console.log("creating production build");
plugins.push(new webpack.DefinePlugin({ plugins.push(new webpack.DefinePlugin({
'process.env.NODE_ENV': 'production', 'process.env.NODE_ENV': '"production"',
})); }));
} }