Skip to content

Commit

Permalink
fix: fix index.d.ts not being in dist (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
fnky authored and azz committed Jan 24, 2019
1 parent cf43d8b commit 8c8a081
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"repository": "https://github.com/azz/styled-css-grid",
"author": "Lucas Azzola",
"license": "MIT",
"types": "dist/index.d.ts",
"files": [
"dist"
],
Expand Down
3 changes: 3 additions & 0 deletions scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ sh.mkdir("-p", "./website/bin");
sh.echo("bundling dist...");
sh.exec("rollup -c ./scripts/rollup.config.js");

sh.echo("copying typescript definitions to dist...");
sh.cp("./index.d.ts", "./dist");

sh.echo("bundling website...");
sh.exec("rollup -c ./scripts/rollup.website.config.js");

Expand Down

0 comments on commit 8c8a081

Please sign in to comment.