fix: don't actually define anything
This commit is contained in:
parent
0dc35ec7be
commit
ffad67ca44
|
@ -82,8 +82,7 @@ module.exports = function(source) {
|
|||
const transformed = transformer ? transformer(className) : className;
|
||||
// Import and register.
|
||||
return [
|
||||
`import {${transformed}} from '${importPath}';`,
|
||||
`${registrar.function}(${transformed});`,
|
||||
`${registrar.function}(require('${importPath}').${transformed});`,
|
||||
].join('\n');
|
||||
});
|
||||
// Import trait registry first.
|
||||
|
|
Loading…
Reference in New Issue
Block a user