View .ddev-docker-compose-patternlab.yaml
# docker-compose.patternlab.com to pass port 3000 inside the container | |
# to https://<something>.ddev.site:3001 | |
version: '3.6' | |
services: | |
web: | |
ports: | |
# Expose port 3000 for the patternlab app | |
- "3001" | |
environment: | |
# Override the web container's standard HTTP_EXPOSE and HTTPS_EXPOSE |
View settings.ddev.php
$settings['container_yamls'][] = DRUPAL_ROOT . '/sites/development.services.yml'; | |
$config['system.performance']['css']['preprocess'] = FALSE; | |
$config['system.performance']['js']['preprocess'] = FALSE; | |
$settings['cache']['bins']['render'] = 'cache.backend.null'; | |
$settings['cache']['bins']['dynamic_page_cache'] = 'cache.backend.null'; | |
$settings['cache']['bins']['page'] = 'cache.backend.null'; |
View .stylelintrc.yml
# Custom configuration for Stylelint. | |
# | |
# Preset all items to warning to prevent breaking themes. | |
# Delete line to activate linter build-breaking errors. | |
defaultSeverity: warning | |
# Plugins integrated. | |
plugins: | |
- stylelint-scss |
NewerOlder