Closed francescoagati closed 6 years ago
If your normal JS file is processed through webpack then yes, this should work!
But I haven't actually tested it - let me know if it works okay.
I'll leave this open until we know it works On Mon, 12 Jun 2017 at 6:48 pm, francesco agati notifications@github.com wrote:
hi, if i have as entry a normal javascript file can i use something like this require('client.hxml') requre the file hxml directly from a main js?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jasononeil/webpack-haxe-loader/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AATPFkFgANMnH8MQ_oqIvbrBGm4xStqnks5sDPtfgaJpZM4N20Op .
Yes it will work. You can even export classes/functions/objects using 'Webpack.export'.
Closing this as it does work :)
hi, if i have as entry a normal javascript file can i use something like this
require('client.hxml')
requre the file hxml directly from a main js?