Closed patricklx closed 1 month ago
@patricklx I'm thinking about ways to integrate it to release pipeline to not miss it in future. We may add https://www.npmjs.com/package/babel-plugin-tester to test this babel plugin as part of test command Here is sample: https://github.com/babel-utils/babel-plugin-tester/tree/master/test/examples (tldr - we need to create folder with 3 files, input, output, babel config - and plugin will be executed over input and compared with output)
@lifeart what about this?
@patricklx looks good for me!
Who can merge? @NullVoxPopuli ?
Mostly it doesn't matter what path is in there. Here I'm also trying to fix the full path beeing added to the transform. That only happens under embroider.
For classic I'm depending in the project.root, parent.root to slice that off the filename.
Can you push again real quick? Ci was disabled
this was removed in v4
it was there until v3. https://github.com/ember-template-imports/ember-template-imports/blob/v3.4.2/src/babel-plugin.js#L42
with this change: