draft: refactor project so it sits on top of a standalone app
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
// Provide a "System" global.
|
||||
module.exports = {
|
||||
// Make sure import is only used as "System.import"
|
||||
import: function() {
|
||||
throw new Error("System.import cannot be used indirectly");
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user