Replace grunt with webpack to get babel ES6 transpiling
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Refactor
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- babel, javascript, webpack
- Domain
- build-system, tooling
Research direction
Start by reading the existing 500-line Grunt file and checking the project’s old Grunt-related dependencies. Review the linked grunt-contrib-uglify issue and decide whether the migration will use webpack with Babel or npm scripts; done means the chosen build path transpiles the project’s newer JavaScript successfully.
Written by the indexing model from the issue text.
Description
After some reading, it appears that grunt-contrib-uglify is built on uglify-js, and uglifyJs doesn't support these new features 'yet'. We're on grunt-contrib 1.x, and there is a 3.x, but it still has this issue.
https://github.com/gruntjs/grunt-contrib-uglify/issues/477
grunt-babel looks promising as a transpiler before the uglification step, but its running into dependency errors, likely because our version of grunt, and associated modules, are very old.
-
One solution would be to migrate grunt to the latest version, do whatever reworking of syntax/config is necessary and add in the new uglify-es, or babel transpiler.
-
Alternatively, we could also try to replace our 500 line grunt file with npm scripts instead.
-
We probably want a transpiler in any case, its strange that we haven't had one until now.
- Dominant language
- JavaScript
- Stars
- 2
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ucdavis/ipa-client-angular
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 68/100
ucdavis/ipa-client-angular#1059 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 72/100
ucdavis/ipa-client-angular#989 ·
-
Customer Request enhancement needs discussion
Difficulty 3/5 1-2 days Newbie friendliness 35/100
ucdavis/ipa-client-angular#1480 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
ucdavis/ipa-client-angular#1478 ·
-
bug high priority
Difficulty 4/5 3-5 days Newbie friendliness 35/100
ucdavis/ipa-client-angular#1477 ·
All issues in ucdavis/ipa-client-angular
Similar issues
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
optimization optimization:agents-md-curator
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
githubnext/gh-aw-cao#13143 ·
-
status: needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100