The "_s" for Timber: a dead-simple theme that you can build from. The primary purpose of this theme is to provide a file structure rather than a framework for markup or styles. Configure your Sass, scripts, and task runners however you would like!
A Webpack wrapper.
- SCSS with examples
- SCSS source-map files for
dev
- BrowserSync proxy
- Reload BrowserSync on Twig change
- TypeScript support
- JS import into Typescript
npm run dev
builds js and css files intodist/
folder without minifying themnpm run watch
reloads Webpack on every change within src/ foldernpm run prod
builds js and css intodist/
folder for Production env
src/scss
src/js
dist/
- resolve-url-loader makes absolute urls (default Laravel Mix behavior) and has to be configured manually
- add SVG sprites by
svg-spritemap-webpack-plugin