Skip to content

Commit

Permalink
build: depend on acorn-import-attributes (closes #1)
Browse files Browse the repository at this point in the history
  • Loading branch information
swiing committed Feb 15, 2024
1 parent b5bb198 commit f359c33
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 16 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"@rollup/plugin-node-resolve": "^15.0.2",
"@rollup/pluginutils": "^4.2.1",
"acorn": "^8.8.2",
"acorn-import-assertions": "git+http://github.com/swiing/acorn-import-assertions.git",
"acorn-import-attributes": "^1.9.2",
"estree-walker": "^2.0.2"
},
"devDependencies": {
Expand Down
25 changes: 11 additions & 14 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* SPDX-License-Identifier: MIT
*/

import { importAssertions as acornImportAssertions } from 'acorn-import-assertions';
import { importAssertions as acornImportAssertions } from 'acorn-import-attributes';
import { createFilter, dataToEsm } from '@rollup/pluginutils';
import { walk } from 'estree-walker';

Expand Down

0 comments on commit f359c33

Please sign in to comment.