Skip to content

Commit

Permalink
fix: fix entry point for modules
Browse files Browse the repository at this point in the history
  • Loading branch information
mg901 committed Nov 12, 2019
1 parent 99584db commit f8ff3a5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .size-limit.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = [
{
path: 'dist/index.js',
limit: '999b',
limit: '1000b',
},
];
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "styled-breakpoints",
"version": "6.10.0",
"description": "Simple and powerfull css breakpoints for styled-components",
"main": "dist/index.ts",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "npm run clean && tsc && npm run size",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"target": "es5",
"rootDir": "src",
"outDir": "dist",
"module": "ESNext",
"module": "commonjs",
"strict": true,
"moduleResolution": "node",
"declaration": true,
Expand Down

0 comments on commit f8ff3a5

Please sign in to comment.