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
For Typescript projects it'd be useful to allow main.ts as the entry point, instead of requiring main.js in all projects. One method of providing this functionality is to use the main property of package.json. This would allow developers to choose any main file, such as main.ts or main.coffee even.
If the main property in package.json isn't provided then the get-webpack-config could fall back to main.js.
Another option could be to add a new optional property to .fusionrc.js if we feel package.json's main property is not the right place.
For Typescript projects it'd be useful to allow main.ts as the entry point, instead of requiring main.js in all projects. One method of providing this functionality is to use the
main
property of package.json. This would allow developers to choose any main file, such asmain.ts
ormain.coffee
even.If the
main
property in package.json isn't provided then the get-webpack-config could fall back to main.js.Another option could be to add a new optional property to .fusionrc.js if we feel package.json's main property is not the right place.
fusionjs/fusion-cli/build/get-webpack-config.js
Line 133 in a962cc8
The text was updated successfully, but these errors were encountered: