mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-02-19 12:30:31 +00:00

I originally put cc.import in a separate directory from the main modules. This means that programs must extend the package path in order to import these modules. However, this ends up being a mixed blessing: while it makes it much harder for users to accidentally require user code, it also means we can't expose a public interface which wraps a private module. Instead, cc.import now lives on the main package path, but lives under the cc.internal namespace and is not documented anywhere. Hopefully this should be enough of a clue that one shouldn't use it :p.