mirror of
https://github.com/NovaGM/ModuleBuilder.git
synced 2024-08-15 00:23:33 +00:00
Add module wrappers
This commit is contained in:
parent
d13b051eb1
commit
15be1775da
5 changed files with 10 additions and 0 deletions
1
moduleWrappers/logger.js
Normal file
1
moduleWrappers/logger.js
Normal file
|
@ -0,0 +1 @@
|
|||
module.exports = goosemodScope.logger;
|
1
moduleWrappers/patcher.js
Normal file
1
moduleWrappers/patcher.js
Normal file
|
@ -0,0 +1 @@
|
|||
module.exports = goosemodScope.patcher;
|
1
moduleWrappers/reactUtils.js
Normal file
1
moduleWrappers/reactUtils.js
Normal file
|
@ -0,0 +1 @@
|
|||
module.exports = goosemodScope.reactUtils;
|
1
moduleWrappers/webpack.js
Normal file
1
moduleWrappers/webpack.js
Normal file
|
@ -0,0 +1 @@
|
|||
module.exports = goosemodScope.webpackModules;
|
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue