Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ $ npm i -D eleventy-plugin-wcc

Add the plugin to your _eleventy.js_ config and provide a [`URL`](https://developer.mozilla.org/en-US/docs/Web/API/URL) for all _top level_ custom element definitions you use.
```js
import { wccPlugin } from './src/index.js';
import { wccPlugin } from 'eleventy-plugin-wcc';

module.exports = function(eleventyConfig) {
eleventyConfig.addPlugin(wccPlugin, {
Expand Down Expand Up @@ -62,7 +62,7 @@ customElements.define('x-greeting', GreetingComponent);
Add your custom element paths to your _.eleventy.js_ config

```js
import { wccPlugin } from './src/index.js';
import { wccPlugin } from 'eleventy-plugin-wcc';

module.exports = function(eleventyConfig) {
eleventyConfig.addPlugin(wccPlugin, {
Expand Down