titaniumifier icon indicating copy to clipboard operation
titaniumifier copied to clipboard

Support module assets

Open yuchi opened this issue 11 years ago • 1 comments

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 avatar Dec 01 '14 15:12 yuchi

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 avatar Dec 16 '14 12:12 yuchi