Comments (2)
I think I might prefer an eyeglass / eyeglass-exports
property in package.json
which we will resolve and read in. Using our resolve function does properly resolve my_npm_module/package.json
. This can override a main
property for npm modules that intend main
to be something else but still want to integrate with eyeglass.
This pattern has been used in other libraries that want to know more about npm modules without necessarily forcing main
adoption or alterations.
For true, the change would then be to add an eyeglass / eyeglass-exports
property to package.json, along with the corresponding eyeglass-exports.js
(which can also include settings & directory info from a common location, because DRY). This also makes sense because package.json is where they will be tagging the item as eyeglass-module
anyway.
from eyeglass.
Fixed by 7f978df
from eyeglass.
Related Issues (20)
- Cache is never repopulated when just the dependency changes
- broccoli 2.x system tmp issue HOT 1
- Asset Handling Overhaul
- (Lazy? Engine)? configuration doesn't set httpRoot from ember's rootURL config
- Changes to Lazy Css Not Picked Up
- Add windows CI
- Addon Styles Are Not Built
- cssDir: Not passed through
- Ember build problems
- consider future version ember-cli-eyeglass to default to discover: true
- Ember-cli-eyeglass ignores OutputPath HOT 3
- 2.2.2 introduced a breaking change (Heimdall dependency) HOT 1
- version 6.1.x doesn't seem to compatible with other version HOT 1
- Allow defaulting the value of verbose mode via environment variable HOT 4
- Shared Eyeglass Configuration
- Update dependencies once 'tar' has fixed its security vulnerablility
- Eyeglass shares variable values between multiple entries when used with webpack HOT 3
- File ignored by eyeglass installer gets installed after restart.
- Eyeglass failing @imports HOT 1
- Error when multiple instances of ember-cli-eyeglass are in the node_modules tree.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eyeglass.