Skip to content

Commit

Permalink
document third party acorn plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 committed Apr 12, 2024
1 parent d0c4de7 commit 0a3de78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/jsx-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { generate } from '@projectevergreen/escodegen-esm';
import fs from 'fs';
import jsx from '@projectevergreen/acorn-jsx-esm';
import { parse, parseFragment, serialize } from 'parse5';
// Need an acorn plugin for now - https://github.com/ProjectEvergreen/greenwood/issues/1218
import { importAttributes } from 'acorn-import-attributes';

const jsxRegex = /\.(jsx)$/;
Expand Down
1 change: 1 addition & 0 deletions src/wcc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import * as walk from 'acorn-walk';
import { generate } from '@projectevergreen/escodegen-esm';
import { getParser, parseJsx } from './jsx-loader.js';
import { parse, parseFragment, serialize } from 'parse5';
// Need an acorn plugin for now - https://github.com/ProjectEvergreen/greenwood/issues/1218
import { importAttributes } from 'acorn-import-attributes';
import fs from 'fs';

Expand Down

0 comments on commit 0a3de78

Please sign in to comment.