wc-compiler 0.3.1 → 0.4.0
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 +7 -0
- package/dist/wcc.dist.js +14121 -0
- package/package.json +11 -3
- package/src/wcc.js +5 -4
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.js_. Example:
|
|
79
|
+
```js
|
|
80
|
+
const { renderToString } = require('wc-compiler/dist/wcc.dist');
|
|
81
|
+
```
|
|
82
|
+
|
|
76
83
|
## Documentation
|
|
77
84
|
|
|
78
85
|
See our [website](https://merry-caramel-524e61.netlify.app/) for API docs and examples.
|