Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

Commit

Permalink
fix: package.json module to use ".esm.js" extensions (#326)
Browse files Browse the repository at this point in the history
Fix the `"module"` and `"jsnext:main"` package.json entries to reference the actual built `dist/glamorous.esm.js` file. See [glamorous build 4.9](https://unpkg.com/glamorous@4.9.0/dist/).

This allows glamorous to build with Rollup.js's support for ES6 "module" entries.
  • Loading branch information
shanewholloway authored and Kent C. Dodds committed Sep 13, 2017
1 parent 2a57031 commit 66fce8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"version": "0.0.0-semantically-released",
"description": "React component styling solved",
"main": "dist/glamorous.cjs.js",
"jsnext:main": "dist/glamorous.es.js",
"module": "dist/glamorous.es.js",
"jsnext:main": "dist/glamorous.esm.js",
"module": "dist/glamorous.esm.js",
"typings": "typings/glamorous.d.ts",
"scripts": {
"add-contributor": "kcd-scripts contributors add",
Expand Down

0 comments on commit 66fce8e

Please sign in to comment.