diff --git a/public/index.html b/public/index.html index c0c0e1c..77bee49 100644 --- a/public/index.html +++ b/public/index.html @@ -59,7 +59,7 @@
If you omit the file path, the main module will be returned. This is especially useful for loading libaries that publish a UMD build as their main module.
+If you omit the file path, the main module will be served. This is especially useful for loading libaries that publish a UMD build as their main module.
If you use the special /bower.zip
file path in a package that contains a bower.json
file, a zip file will be created on the fly that Bower can use to install the package.
You may use the special /bower.zip
file path in packages that contain a bower.json
file to dynamically generate a zip file that Bower can use to install the package.
You can do this easily using the following setup:
umd
(or dist
) directory to your .gitignore
fileumd
directory to your files
array in package.jsonumd
directory just before you publishnpm publish
you'll have a version available on npmcdn as wellumd
directory to your files array in package.json
umd
directory when you publishThat's it! Now when you npm publish
you'll have a version available on npmcdn as well.
If you think this is useful, I'd love to hear from you. Please reach out to @mjackson with any questions/concerns.