Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support module assets #20

Open
yuchi opened this issue Dec 1, 2014 · 1 comment
Open

Support module assets #20

yuchi opened this issue Dec 1, 2014 · 1 comment
Milestone

Comments

@yuchi
Copy link
Member

yuchi commented Dec 1, 2014

Hihi, this is going to be tough. See how os-titanium requires __context.js to be in a specific position.

In theory modules can have assets… does it work for CommonJS ones?

/cc @tonylukasavage @FokkeZB

@yuchi
Copy link
Member Author

yuchi commented Dec 16, 2014

The official documentation states that the assets directory can be used for require, could that be that we can use it to package other things?

You can place additional JavaScript CommonJS modules in the assets folder and import them into your main module using require.

Requires investigations.

@yuchi yuchi modified the milestone: 1.1 Dec 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant