Skip to content

Commit

Permalink
fix(build): default export was broken
Browse files Browse the repository at this point in the history
fix(build): default export was broken
  • Loading branch information
Francois Laubscher authored May 20, 2019
1 parent 2fbdd19 commit d450b21
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 177 deletions.
157 changes: 1 addition & 156 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leadhome/oxygen",
"version": "0.1.3",
"version": "0.1.4",
"description": "A react component library",
"main": "build/oxygen.js",
"scripts": {
Expand Down Expand Up @@ -69,8 +69,6 @@
"cz-conventional-changelog": "^2.1.0",
"file-loader": "^3.0.1",
"husky": "^1.3.1",
"npm-run-all": "^4.1.5",
"react-svg-loader": "^3.0.1",
"rimraf": "^2.6.3",
"semantic-release": "^15.13.14",
"webpack": "^4.32.0",
Expand Down
19 changes: 1 addition & 18 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,8 @@
import Button from './button';

import Colors from './colors';

import Input, { Currency as InputCurrency } from './input';
import Dropdown from './dropdown';

import Header from './header';
import Footer from './footer';

const Oxygen = {
Button,

Colors,

Input,
InputCurrency,

Dropdown,

Header,
Footer
};

export default Oxygen;
export { Button, Colors, Input, InputCurrency, Dropdown, Header, Footer };

0 comments on commit d450b21

Please sign in to comment.