No easy way to build with specific components using npm
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 13k
- Forks
- 1.4k
- Avg merge
- 15h 36m
- Merged PRs (30d)
- 3
Description
Information:
- Prism version: 1.30.0
Description
I'm trying to build prism using "npm run build" and I want to include certain languages and components.
I know there is the downloader on the official web page where I can do that manually by checking a bunch of boxes and then downloading a minified file. I didn't find an easy way to do the same locally, in the console, using the build script.
The closest I got was including the components by adding lines to gulpfile.js/paths.js but this process is also error-prone because I have to look up the dependencies myself in components.json
Is there something I'm missing or is there really no easy way to do this?
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.
Research direction
Start by running npm run build and reading gulpfile.js/paths.js and components.json, which the report identifies as the current build configuration and dependency source. Compare this workflow with the official downloader's component selection, then define a local interface whose completion criteria include selecting components and resolving their dependencies without manual lookup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- build-system, cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100