diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index de3c2a2..e724ea2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,8 +13,7 @@ jobs: strategy: matrix: - node-version: [10.x, 12.x, 14.x, 15.x] - # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ + node-version: [14.x, 15.x] steps: - uses: actions/checkout@v2 - name: Local Unit Test ${{ matrix.node-version }} diff --git a/Readme.md b/Readme.md index 4e02b14..5582f52 100644 --- a/Readme.md +++ b/Readme.md @@ -7,7 +7,7 @@ A parcel plugin for riot.js ## Important -- If you are using Parcel < 1.0.0 please check the [this branch](https://github.com/riot/parcel-transformer-riot/tree/parcel-v1) +- If you are using Parcel < 2.0.0 please check the [this branch](https://github.com/riot/parcel-transformer-riot/tree/parcel-v1) - If you are using Riot.js < 4.0.0 please check the [v3 branch](https://github.com/riot/parcel-transformer-riot/tree/v3) ## Using diff --git a/test/main.js b/test/main.js index 637db07..d9df960 100644 --- a/test/main.js +++ b/test/main.js @@ -1,5 +1,5 @@ -import { component } from 'riot' import MyComponent from './my-component.riot' +import { component } from 'riot' component(MyComponent)(document.getElementById('root'))