wc-compiler 0.3.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -73,6 +73,13 @@
73
73
  $ npm install wc-compiler --save-dev
74
74
  ```
75
75
 
76
+ ### CommonJS
77
+
78
+ If you need CommonJS support, a separate pre-bundled (with Rollup) distribution of **WCC** is available at _dist/wcc.dist.cjs_. Example:
79
+ ```js
80
+ const { renderToString } = require('wc-compiler/dist/wcc.dist.cjs');
81
+ ```
82
+
76
83
  ## Documentation
77
84
 
78
85
  See our [website](https://merry-caramel-524e61.netlify.app/) for API docs and examples.