Skip to content

Commit

Permalink
Set main.js as a dependency for building web components
Browse files Browse the repository at this point in the history
  • Loading branch information
bherr2 committed May 16, 2024
1 parent 556d541 commit 0ac9714
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
},
"build-webcomponent": {
"dependsOn": ["build"],
"inputs": ["{projectRoot}/src/webcomponent-example.html"],
"inputs": ["{projectRoot}/src/webcomponent-example.html", "{workspaceRoot}/dist/{projectRoot}/main.js"],
"outputs": [
"{workspaceRoot}/dist/{projectRoot}/wc.js",
"{workspaceRoot}/dist/{projectRoot}/webcomponent-example.html"
Expand Down

0 comments on commit 0ac9714

Please sign in to comment.