bazelbuild / bazelbuild/rules_closure

closure_js_deps skips es6 modules

Open
#215 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
159
Forks
111
PR merge metrics
No merged PRs in 30d

Description

closure_js_deps uses depswriter.py, which has no support for es6 modules.
I was looking at adding es6 support to depswriter then I saw that closure compiler already has a DepsGenerator class with support for es6. closure_js_deps should use this to generate deps.js

Contributor guide

Open the contributing guide

Research direction

Start at closure_js_deps and depswriter.py to understand how deps.js is currently generated. Read the Closure Compiler DepsGenerator support for ES6 modules, then verify that closure_js_deps uses it and that generated deps.js includes ES6 module dependencies.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, javascript, python
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.