ffffffffffffff
v1.1.0
Published
1. npm run build 2. npm publish
Downloads
6
Readme
React component boilerplate for npm
steps
- npm run build
- npm publish
npm run build
- Webpack will process src/index.less and output to src/index.css
- Babel will process src/index.js and output to src/index.js
npm publish
- will publish the /dist folder to npm.
Reminder
Do not import a .less stylesheet file in a component, because babel doesnt know that .less file will be changed to .css in /dist folder.
If you want to import stylesheet: import './index.css' inside a component