问题
I have to create a new node_module, inside this i need to use other modules, in this case uuid and object-exporter. When i run my module i have this error inside the bundle
/.../node_modules/Table/dist/bundle.js:1981
}({}, uuid));
^
ReferenceError: uuid is not defined
I imported the lib on package.json
on depencencies
"dependencies": {
"object-exporter": "^3.6.0",
"uuid": "^8.3.1"
},
Anyone has some advice? I have to import the node_module on a sapper template
来源:https://stackoverflow.com/questions/64556839/dependecies-of-node-module-inside-another-node-module