Skip to content

Commit 9dc0c91

Browse files
Trotttargos
authored andcommittedAug 22, 2021
tools: update rollup to latest version in markdown linter
PR-URL: #39797 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
1 parent 8fa3850 commit 9dc0c91

File tree

3 files changed

+11567
-31294
lines changed

3 files changed

+11567
-31294
lines changed
 

‎tools/lint-md.js

+8,002-27,666
Large diffs are not rendered by default.

‎tools/node-lint-md-cli-rollup/package-lock.json

+3,562-3,627
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎tools/node-lint-md-cli-rollup/rollup.config.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,15 @@ module.exports = {
4040
'fsevents = require(\'fsevents\');', 'fsevents = undefined;'
4141
);
4242
}
43+
// Remove circular dependency in glob that messes up rollup
44+
return code.replace("var Glob = require('./glob.js').Glob", '');
4345
}
4446
},
4547
json({
4648
preferConst: true
4749
}),
4850
nodeResolve(), // tells Rollup how to find date-fns in node_modules
49-
commonjs(), // Converts date-fns to ES modules
51+
commonjs(),
5052
{
5153
name: 'banner',
5254
renderChunk(code) {

0 commit comments

Comments
 (0)
Please sign in to comment.