Skip to content

Commit

Permalink
Ignore ESM bundle on build doc
Browse files Browse the repository at this point in the history
  • Loading branch information
yukukotani committed Aug 16, 2020
1 parent f4a96d4 commit 3ea904c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build-docs.js
Expand Up @@ -35,9 +35,9 @@ if (isPullRequest) {
}

shell.cp(`${prettierPath}/standalone.js`, `${docs}/`);
shell.cp(`${prettierPath}/parser-*.js`, `${docs}/`);
shell.cp(`${prettierPath}/parser-!(*.module).js`, `${docs}/`);

const parserModules = globby.sync(["parser-*.js"], { cwd: prettierPath });
const parserModules = globby.sync(["parser-!(*.module).js"], { cwd: prettierPath });
const parsers = {};
for (const file of parserModules) {
const plugin = require(path.join(prettierPath, file));
Expand Down

0 comments on commit 3ea904c

Please sign in to comment.