From 0edfdd4c9e8d740613bd736294c6aebca99773c7 Mon Sep 17 00:00:00 2001 From: "Fred K. Schott" Date: Sun, 4 Aug 2019 23:19:42 -0700 Subject: [PATCH] add docs for dir argument --- assets/babel-plugin.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/babel-plugin.js b/assets/babel-plugin.js index d13aed9343..5883f12807 100644 --- a/assets/babel-plugin.js +++ b/assets/babel-plugin.js @@ -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.