Skip to content

Commit

Permalink
fix: export root files
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Apr 24, 2020
1 parent 3078f29 commit 9659a34
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions core/loader/loader.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./dist/loader.d');
8 changes: 7 additions & 1 deletion core/loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@
"files": [
"dist/",
"package.json",
"README.md"
"README.md",
"loader.js",
"loader.d.ts",
"story-store-data.js",
"story-store-data.d.ts",
"store.js",
"store.d.ts"
],
"scripts": {
"build": "yarn cross-env NODE_ENV=production rollup -c",
Expand Down
1 change: 1 addition & 0 deletions core/loader/store.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./dist/store.d');
1 change: 1 addition & 0 deletions core/loader/store.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./dist/store');
1 change: 1 addition & 0 deletions core/loader/story-store-data.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./dist/story-store-data.d');
4 changes: 3 additions & 1 deletion integrations/storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
"files": [
"dist/",
"package.json",
"README.md"
"README.md",
"preset.js",
"register.js"
],
"scripts": {
"build": "yarn cross-env NODE_ENV=production rollup -c",
Expand Down
1 change: 1 addition & 0 deletions integrations/storybook/register.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./dist/register');

0 comments on commit 9659a34

Please sign in to comment.