Skip to content

Commit

Permalink
Fix build dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Kye Hohenberger committed Jun 2, 2017
1 parent d761971 commit 1ab183b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -76,7 +76,7 @@ function Greeting ({ name }) {

### css prop

When using the emotion babel plugin any `css` prop is converted to a tagged template expression and appended to any existing class names.
When using the emotion babel plugin, any `css` prop is converted to a class name via glam and appended to any existing class names.


```jsx harmony
Expand Down
3 changes: 1 addition & 2 deletions glam.js
@@ -1,2 +1 @@
function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function n(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function o(e,o){var p=o[0],f=o[1];return function(o){function i(){return t(this,i),r(this,o.apply(this,arguments))}return n(i,o),i.prototype.render=function(){var t=this,r=a(p,f.map(function(e){return"function"==typeof e?e(t.props):e}));return c(e,u({},this.props,{className:(this.props.className||"")+" "+r}))},i}(i.Component)}Object.defineProperty(exports,"__esModule",{value:!0});var i=e(require("react")),a=e(require("glam")),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c=i.createElement;exports.default=o;
//# sourceMappingURL=glam.js.map
module.exports = require('./src/glam/babel')
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -4,7 +4,7 @@
"description": "👩‍🎤 Glam + React",
"jsnext:main": "dist/emotion.es.js",
"module": "dist/emotion.es.js",
"main": "glam.js",
"main": "dist/glam.js",
"umd:main": "dist/emotion.umd.js",
"files": [
"src",
Expand Down

0 comments on commit 1ab183b

Please sign in to comment.