You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say that i have only three files in my project :
test-ios-prod.js
test-prod.js
TestApi.js
The two first files are doing the job, the last one is only an api for external modules. Only the last file is exposed to the world. In TestApi.js, i have something like :
var test = require("./test.js");
The test.js file doesn't exist in my project, i only have specifics. Indeed, my dimensions are :
prod, test and dev
ios and android
Now, if i build the project with browserify, i will get an error :
We should probably use the browserify tools to create a require transform so that we could analyze the require and change the imports before they are actually done by browserify
Let's say that i have only three files in my project :
The two first files are doing the job, the last one is only an api for external modules. Only the last file is exposed to the world. In TestApi.js, i have something like :
The test.js file doesn't exist in my project, i only have specifics. Indeed, my dimensions are :
Now, if i build the project with browserify, i will get an error :
This library should be able to handle specific files with no root file.
The text was updated successfully, but these errors were encountered: