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 fa374ab commit 0edfdd4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion assets/babel-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ function rewriteImport(imp, dir, shouldAddMissingExtension) {

/**
* BABEL OPTIONS:
* dir - The web_modules installed location once hosted on the web. Defaults to '/web_modules/*'
* dir - The web_modules installed location once hosted on the web.
* Defaults to "web_modules", which translates package imports to "/web_modules/PACKAGE_NAME".
* 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 0edfdd4

Please sign in to comment.