Skip to content

Commit

Permalink
[Fix] Fix bundle for use in external project
Browse files Browse the repository at this point in the history
  • Loading branch information
blcham committed Oct 12, 2022
1 parent b107d2a commit cf3a8ac
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 4 additions & 10 deletions package.json
Expand Up @@ -5,20 +5,14 @@
"node": ">=14.17.1"
},
"type": "module",
"source": "src/lib.js",
"source": "src/s-forms-components.js",
"main": "dist/s-forms-components.js",
"exports": "./dist/s-forms-components.modern.js",
"module": "./dist/s-forms-components.js",
"unpkg": "./dist/s-forms-components.umd.js",
"targets": {
"browser": {
"distDir": "dist",
"outputFormat": "commonjs",
"optimize": false
}
},
"files": [
"src/",
"dist/"
"dist/*.*",
"dist/**/*"
],
"dependencies": {
"intelligent-tree-select": "~0.8.3"
Expand Down
1 change: 1 addition & 0 deletions src/SmartComponents.js
Expand Up @@ -6,6 +6,7 @@ import QuestionWithUnit from "./components/QuestionWithUnit";
import NullQuestion from "./components/NullQuestion";
import Utils from "./Utils";
import SectionComponent from "./components/SectionComponent";
import "./styles/components.css";

export default class SmartComponents {
static componentCache = {};
Expand Down
File renamed without changes.

0 comments on commit cf3a8ac

Please sign in to comment.