Skip to content

Commit

Permalink
refactor(build): set env to production
Browse files Browse the repository at this point in the history
  • Loading branch information
moklick committed Sep 13, 2019
1 parent eb4d930 commit 5ce476f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion example/SimpleGraph.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { PureComponent } from 'react';

import Graph, { isEdge, removeElements, getOutgoers, Handle, MiniMap } from '../src';
// import Graph, { isEdge, removeElements, getOutgoers, Handle } from '../dist/ReactGraph';
// import Graph, { isEdge, removeElements, getOutgoers, Handle, MiniMap } from '../dist/ReactGraph';

const SpecialNode = ({ data, styles }) => (
<div
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@
"rollup-plugin-serve": "^1.0.1"
},
"peerDependencies": {
"react": "^16.8.0",
"react-dom": "^16.8.6",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"prop-types": "^15.0.0-0"
},
"scripts": {
"build": "rollup -c",
"build": "rollup -c --environment NODE_ENV:production",
"watch": "rollup -w -c",
"dev": "parcel example/index.html -d example/build",
"build:example": "parcel build example/index.html -d example/build"
Expand Down

0 comments on commit 5ce476f

Please sign in to comment.