Skip to content

Commit

Permalink
Fix paths for build
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsJonQ committed May 29, 2018
1 parent 4fd79fb commit 380e5ac
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> A simple way to include CSS with React Components.
- **Tiny**, around 1.7 KB gzipped
- **Tiny**, around 2.05 KB gzipped
- **One dependency** - ([Stylis](https://github.com/thysultan/stylis.js))
- **Write** plain ol' CSS. Period.
- **Pre-processing** when you need it. Powered by [Stylis](https://github.com/thysultan/stylis.js).
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"module": "dist/index.m.js",
"source": "lib/index.js",
"scripts": {
"babel": "babel -d lib --ignore '*.test.js' src",
"babel": "babel --presets=react,flow --plugins=transform-object-rest-spread --no-babelrc -d lib --ignore '*.test.js' src",
"build": "npm run lint && npm run clean && npm run babel && npm run bundle",
"bundle": "microbundle build --external all --jsx React.createElement",
"clean": "rm -rf dist",
Expand Down
4 changes: 3 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import styled from './styled/index'
export { default as ThemeProvider } from './ThemeProvider'
import ThemeProvider from './ThemeProvider/index'

export default styled

export { styled, ThemeProvider }
2 changes: 1 addition & 1 deletion src/styled/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { Component } from 'react'
import Style from './Style'
import { getStyleTag } from '../utilities/styleTag'
import { getComponentName } from '../utilities/components'
import { STYLESHEET as StyleSheet } from '../ThemeProvider'
import { STYLESHEET as StyleSheet } from '../ThemeProvider/index'

export const STYLESHEET = StyleSheet

Expand Down

0 comments on commit 380e5ac

Please sign in to comment.