Add module wrappers

This commit is contained in:
Ducko 2021-01-23 18:55:16 +00:00
parent d13b051eb1
commit 15be1775da
5 changed files with 10 additions and 0 deletions

1
moduleWrappers/logger.js Normal file
View file

@ -0,0 +1 @@
module.exports = goosemodScope.logger;

View file

@ -0,0 +1 @@
module.exports = goosemodScope.patcher;

View file

@ -0,0 +1 @@
module.exports = goosemodScope.reactUtils;

View file

@ -0,0 +1 @@
module.exports = goosemodScope.webpackModules;

View file

@ -19,5 +19,11 @@
"dependencies": {
"parcel-bundler": "^1.12.4"
},
"alias": {
"@goosemod/patcher": "./moduleWrappers/patcher.js",
"@goosemod/webpack": "./moduleWrappers/webpack.js",
"@goosemod/logger": "./moduleWrappers/logger.js",
"@goosemod/reactUtils": "./moduleWrappers/reactUtils.js"
},
"type": "module"
}