Skip to content

Commit

Permalink
fix(cli): add missing example file to package, improve behavior when …
Browse files Browse the repository at this point in the history
…proxied

The CLI's help action tries to print an example configuration file, but that file wasn't getting
included in the NPM package, so it would just error out. That file has been added to the includes in
package.json.  Additionally, the js and css asset references for the CLI embedded application have
been moved to relative paths so that the app still works correctly if proxied under a non-root path
on a domain.
  • Loading branch information
MattCheely committed Jul 6, 2021
1 parent f597152 commit da3af1b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cli/embedded-app/vue.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
publicPath: ''
};
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"dist/es5/index.js",
"dist/**/*.d.ts",
"cli/ifc-cli.js",
"cli/example-ifc.config.js",
"cli/embedded-app/dist/**/*"
],
"main": "dist/index.js",
Expand Down

0 comments on commit da3af1b

Please sign in to comment.