This repository has been archived by the owner on Oct 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7ddaed7
commit 91437f7
Showing
5 changed files
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -120,6 +120,12 @@ As well as an `options.config` parameter, it is also possible to specify minific | |
builder.build('myModule', 'outfile.js', { minify: true, sourceMaps: true, config: cfg }); | ||
``` | ||
|
||
Compile time with source maps can also be improved with the `lowResSourceMaps` option: | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
guybedford
Author
Member
|
||
|
||
```javascript | ||
builder.build('myModule', 'outfile.js', { sourceMaps: true, lowResSourceMaps: true }); | ||
``` | ||
|
||
### Ignore Resources | ||
|
||
If loading resources that shouldn't even be traced as part of the build (say an external import), these | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Should mention somewhere that this option is the default for bundling (maybe a "help my sourcemaps aren't right" note). Same goes for documenting it in cli once this builder lands in jspm.