Skip to content

Commit

Permalink
add docs for dir argument
Browse files Browse the repository at this point in the history
  • Loading branch information
FredKSchott committed Aug 5, 2019
1 parent e732324 commit fa374ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/babel-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ function rewriteImport(imp, dir, shouldAddMissingExtension) {

/**
* BABEL OPTIONS:
* dir - The web_modules installed location once hosted on the web. Defaults to '/web_modules/*'
* optionalExtensions - Adds any missing JS extensions to local/relative imports. Support for these
* partial imports is missing in the browser and being phased out of Node.js, but
* this can be a useful option for migrating an old project to @pika/web.
Expand Down

0 comments on commit fa374ab

Please sign in to comment.