-
Notifications
You must be signed in to change notification settings - Fork 3
05. Configuration
Vlado Bosnjak edited this page Jul 16, 2023
·
5 revisions
Environment variables are saved in .env.local
-
yarn dev
— Start your development process, this will compile and live reload your browser or inject css when possible while in development -
yarn build
— Compile and optimize the files -
yarn build:prod
— Compile and optimize assets for production (minify css/js and run image optimization)
-
yarn clean
— Remove yourdist
folder -
yarn reinit
— Remove yourdist
andnode_modules
folder and reinstall node dependencies -
yarn lint
— Run ESLint/Stylelint against your source files and build scripts -
yarn lint:scripts
— Run ESLint against your source files and build scripts -
yarn lint:styles
— Run Stylelint against your source files