DEV Community

Discussion on: How to Create and Publish a React Component Library

 
alexeagleson profile image
Alex Eagleson

Simply add modules: true on your Rollup postcss plugin. There's a section for modules on the plugin NPM docs:

npmjs.com/package/rollup-plugin-po...

Some comments have been hidden by the post's author - find out more