aurelia / aurelia/cli

Custom importers shouls be able to easily add .plugin() statements to main.js

Open
#551 1 comment 0 reactions 0 assignees View on GitHub
enhancement package importer
Dominant language
JavaScript
Stars
402
Forks
134
PR merge metrics
No merged PRs in 30d

Description

**I'm submitting a feature request**

One of the common use cases for custom importers is to add .plugin() statements to main.js. We could expose a service to custom importers that can do this. It is quite tricky to patch main.js due to the irregular format of main.js

Contributor guide

Open the contributing guide

Research direction

Start by reading the custom importer flow and the irregular main.js format described in the issue. Determine how a service could let custom importers add .plugin() statements without directly patching main.js; done means the supported mechanism is exposed and custom importers can use it reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.