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
Just sharing some notes for what I'd like to see happen for a v1.0.
Default to ESM loading, fallback to require (the inverse of the current setup).
Move away from require hooks. This should improve plugin ergonomics significantly. If a file can't be loaded with import/require, we should use readFile and the plugin will be responsible for returning a JavaScript representation of the file.
Improve API. There are lots of rough edges with the Plugin API that could be smoothed out.
The text was updated successfully, but these errors were encountered:
Just sharing some notes for what I'd like to see happen for a v1.0.
require
(the inverse of the current setup).require
hooks. This should improve plugin ergonomics significantly. If a file can't be loaded withimport/require
, we should usereadFile
and the plugin will be responsible for returning a JavaScript representation of the file.The text was updated successfully, but these errors were encountered: