jking6884
jking6884
@haveyaseen I am coming from using Ember (which defaults to using json:api), but I am looking around at React and trying to see if it could be an option. I...
@ef4 Thanks for your response. I am using @babel/standalone in my project right now. I was also able to get @babel/parser installed and working successfully, as I want to be...
@ef4 What file is this supposed to be done in? I added it in the addon's index.js file (2nd screenshot below) but it didn't have any effect.  
Oh, I see. It needs to be inside of the `ember-auto-import` block. That seems to be working for `process.env.SOMETHING` now. 
Any thoughts or insights in regards to this would be greatly appreciated. I feel like, on the surface, this configuration should be working, but it's not :/
This is the produced webpack config: ```{ "mode": "development", "entry": { "app": [ "/private/var/folders/l4/qv207kgj4c1df_1h0_dm71q00000gn/T/broccoli-57616QkGBmhbzvtdB/cache-738-webpack_bundler_ember_auto_import_webpack/l.js", "/private/var/folders/l4/qv207kgj4c1df_1h0_dm71q00000gn/T/broccoli-57616QkGBmhbzvtdB/cache-738-webpack_bundler_ember_auto_import_webpack/app.js" ], "tests": [ "/private/var/folders/l4/qv207kgj4c1df_1h0_dm71q00000gn/T/broccoli-57616QkGBmhbzvtdB/cache-738-webpack_bundler_ember_auto_import_webpack/l.js", "/private/var/folders/l4/qv207kgj4c1df_1h0_dm71q00000gn/T/broccoli-57616QkGBmhbzvtdB/cache-738-webpack_bundler_ember_auto_import_webpack/tests.js" ] }, "performance": { "hints": false }, "target": "browserslist:last 1...
@ef4 Does this seem like something that might be a bug? I know @NullVoxPopuli is using some similar approaches, but in an Ember 4.x app using embroider for build pipeline....
@ef4 That makes a lot of sense in regards to path. I should probably just import that directly from `path-browserify`. I think I thought myself into a corner on that...
I am able to resolve that with the DefinePlugin, but it would be interesting to know why the `process` fallback is not working. However, this was the actual issue that...
I found the debug flags and used them when running the project and I saw this: I'm guessing this is probably the underlying reason. Going to try stubbing `fs` with...