Skip to content

Commit

Permalink
Try rollup?
Browse files Browse the repository at this point in the history
  • Loading branch information
fregante committed Aug 19, 2024
1 parent 09cd4c2 commit 7b0d62a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/esm-lint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
env:
IMPORT_STATEMENT: export {default asOptionsSync} from "webext-options-sync"
IMPORT_STATEMENT: export {default as OptionsSync} from "webext-options-sync"

# FILE GENERATED WITH: npx ghat fregante/ghatemplates/esm-lint
# SOURCE: https://github.com/fregante/ghatemplates
Expand Down Expand Up @@ -52,6 +52,14 @@ jobs:
package.json
- run: npx parcel@2 build index.js
- run: cat dist/index.js
Rollup:
runs-on: ubuntu-latest
needs: Pack
steps:
- uses: actions/download-artifact@v4
- run: npm install --omit=dev ./artifact rollup@4 @rollup/plugin-node-resolve
- run: echo "$IMPORT_STATEMENT" > index.js
- run: npx rollup -p node-resolve index.js
Vite:
runs-on: ubuntu-latest
needs: Pack
Expand Down

0 comments on commit 7b0d62a

Please sign in to comment.