Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tomaszbujnowicz/sass-js-compilation

Simple setup for Sass and JS compilation using Laravel Mix. I use when I need to quickly compile these assets when e.g. working on barebone builds.
https://github.com/tomaszbujnowicz/sass-js-compilation

build-tool compilation css javascript js laravel-mix sass

Last synced: 2 months ago
JSON representation

Simple setup for Sass and JS compilation using Laravel Mix. I use when I need to quickly compile these assets when e.g. working on barebone builds.

Awesome Lists containing this project

README

        

# 🚀 Simple setup for Sass and JS compilation

### Requirements
Make sure all dependencies have been installed before moving on:

* [yarn](https://yarnpkg.com/lang/en/) or [npm](https://www.npmjs.com/get-npm)
* [Node.js](https://nodejs.org/en/download/) >= 8.16.0

### Quick start: Installation
Clone this repository and run
- `yarn` or `npm install` to install dependencies

### Tasks
| Task Name | Description
| :------------- | :------------- |
| `yarn dev` or `npm run dev` | Run all Mix tasks
| `yarn watch` or `npm run watch` | Run all Mix tasks and watch all relevant files for changes (assets unminified)
| `yarn watch-prod` or `npm run watch-prod` | Run all Mix tasks and watch all relevant files for changes (assets minified)
| `yarn hot` or `npm run hot` | Hot module replacement
| `yarn prod` or `npm run prod` | Run all Mix tasks and minify output

## Copyright and license

Copyright 2020 Tomasz Bujnowicz under the [MIT license](http://opensource.org/licenses/MIT).