Skip to content

Commit

Permalink
Addon-viewports: Fix missing TypeScript types (#8848)
Browse files Browse the repository at this point in the history
Addon-viewports: Fix missing TypeScript types
  • Loading branch information
shilman committed Nov 30, 2019
1 parent 26c777d commit 6c27b63
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 2 additions & 1 deletion addons/viewport/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"*.js",
"*.d.ts"
],
"main": "preview.js",
"main": "dist/preview.js",
"types": "dist/preview.d.ts",
"scripts": {
"prepare": "node ../../scripts/prepare.js"
},
Expand Down
5 changes: 0 additions & 5 deletions addons/viewport/preview.js

This file was deleted.

1 change: 1 addition & 0 deletions addons/viewport/src/preview.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { configureViewport, DEFAULT_VIEWPORT, INITIAL_VIEWPORTS } from './legacy_preview';

0 comments on commit 6c27b63

Please sign in to comment.