Rock with ES module!
yarn install # Install deps
yarn dev # Start dev server
yarn build # Build dist
- Use less. If you want to use CSS modules, the extension of the less file should be
.module.less
. - The content type
text/javascript
is required to serve static files with the extensions.mjs
,.jsx
, and.less
.