Skip to content

Commit

Permalink
updatre documentation for the new commands
Browse files Browse the repository at this point in the history
  • Loading branch information
JayaKrishnaNamburu committed Oct 23, 2023
1 parent 283ad0e commit dcddeee
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,15 +304,15 @@ The build command can be used to build a project from the import map, which will
The command operates in two modes,

```sh
jspm build ./app.js --build-output lib.js
jspm build ./app.js --output dir
```

Uses default rollup configuration and builds the project with the importmap.

If you would like to use a custom rollup configuration, you can use the `--build-config` flag.

```sh
jspm build --build-config rollup.config.mjs
jspm build --config rollup.config.mjs
```

## Preload Tags and Integrity Attributes
Expand Down
4 changes: 2 additions & 2 deletions docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,15 @@ The build command can be used to build a project from the import map, which will
The command operates in two modes,

```sh
jspm build ./app.js --build-output lib.js
jspm build ./app.js --output dir
```

Uses default rollup configuration and builds the project with the importmap.

If you would like to use a custom rollup configuration, you can use the `--build-config` flag.

```sh
jspm build --build-config rollup.config.mjs
jspm build --config rollup.config.mjs
```

## Preload Tags and Integrity Attributes
Expand Down
2 changes: 1 addition & 1 deletion test/build.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const filesOwnName = await mapDirectory("test/fixtures/scenario_build_app");
const scenarios: Scenario[] = [
{
files: filesOwnName,
commands: ["jspm build --build-config rollup-config.mjs"],
commands: ["jspm build --config rollup-config.mjs"],
validationFn: async (files) => {
const build = files.get("build.js");
assert(!!build);
Expand Down

0 comments on commit dcddeee

Please sign in to comment.