(cd my-package; yarn link)
(cd my-app; yarn link my-package)
(cd my-package; yarn install)
(cd my-app; yarn install)
(cd my-app; yarn build)
# then check ./dist/main.js generated by webpack.config.js
A playground for researching to make webpack configurations as npm package.
JavaScript