The easiest way to create your own npm modules.
$ git clone https://github.com/scaki/create-module-boilerplate.gitTo start using hot reloading
$ npm startTo create the module only
$ npm buildYou can customize your settings by changing the settings in package.json
"name": "create-module-boilerplate",
"version": "1.0.0",
"description": "",
"author": "Safa ÇAKI",
"license": "ISC",
"repository": {
"type": "git",
"url": "git+https://github.com/scaki/create-module-boilerplate.git"
}To use the external package, enter the package names in the field below
webpack.config.js
externals: ['react'],