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
aspect.js@0.7.5 fails when using @babel/plugin-proposal-decorators@>=7.1.6 in a pure JavaScript project. The workaround is to set the plugin's legacy property to true.
Since the modern (legacy: false) mode of the plugin is now the default and closer to the expected final version of the ECMAScript decorators proposal, aspect.js should be updated accordingly to work with the plugin's modern mode. For backward compatibility, there should probably be an aspect.js setting to opt-in to using the modern decorator mode. The next major version of aspect.js could then be changed to use the modern mode by default.
aspect.js@0.7.5
fails when using@babel/plugin-proposal-decorators@>=7.1.6
in a pure JavaScript project. The workaround is to set the plugin'slegacy
property totrue
.Since the modern (
legacy: false
) mode of the plugin is now the default and closer to the expected final version of the ECMAScript decorators proposal,aspect.js
should be updated accordingly to work with the plugin's modern mode. For backward compatibility, there should probably be anaspect.js
setting to opt-in to using the modern decorator mode. The next major version ofaspect.js
could then be changed to use the modern mode by default.The project at https://github.com/matthewadams/aspect.js-babel7-poc can be used as a pure JavaScript test client for such an environment for integration testing.
The text was updated successfully, but these errors were encountered: