Copy child theme into default wordpress themes folder (wp-content/themes
)
Install dependencies
yarn install
Build
yarn build
# or
yarn watch
Build for prod
yarn dist
Webpack is configured to automatically "build" any image that is imported in js or included in scss. For example:
background-image: url('../assets/images/svgs/arrow_right.svg');
Automatically copies the image to the build folder, so that it can be used.
- Babel transpiler
- PostCSS autoprefixer
- UglifyJS
- add HMR
- use
terser
- add tests