Simple Parcel React Starter - Webpack Version
Very Simple.
React 16.8.1
React-Dom 16.8.1
Sass 1.17.0
Postcss-Modules 1.4.1
Autoprefixer 9.4.7
Parcel 1.11.0
@babel/plugin-proposal-class-properties
@babel/plugin-proposal-export-default-from
@babel/plugin-syntax-dynamic-import -Parcel Supported
Open .postcssrc
file.
{
"modules": true,
"plugins": {
"autoprefixer": {
"grid": true
}
}
}
"modules": true
-use camelCase classname in scss and js file.
"modules": false
- use kebab-case classname as usual.
git clone https://github.com/daimalou/simple-parcel-react-starter
cd simple-parcel-react-starter
yarn or npm i
yarn dev && yarn build
npm run dev && npm run build
eslint-config-react-app -Official Eslint Preset - I never tried.
babel-preset-react-app -Official Babel Preset - Issues#2377
MIT