Skip to content

Commit

Permalink
Merge pull request #63 from melfore/61-import-module-error
Browse files Browse the repository at this point in the history
Build in dist folder
  • Loading branch information
luciob committed Sep 14, 2023
2 parents 2c094a5 + 545d877 commit 4ce8dbb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"description": "Melfore ReactJS Timeline library made with Konva",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsc",
"build:storybook": "storybook build -o docs --docs --quiet",
Expand Down
2 changes: 2 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"allowJs": true,
"declaration": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
Expand All @@ -11,5 +12,6 @@
"strict": true,
"target": "ES2016"
},
"include": ["src"],
"exclude": ["dist", "node_modules", "src/**/*.test.tsx", "src/**/*.stories.tsx"]
}

0 comments on commit 4ce8dbb

Please sign in to comment.