Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/tomaszbujnowicz/sass-js-compilation
- Owner: tomaszbujnowicz
- Created: 2020-01-27T14:31:39.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T02:31:22.000Z (almost 2 years ago)
- Last Synced: 2023-02-27T06:35:50.167Z (almost 2 years ago)
- Topics: build-tool, compilation, css, javascript, js, laravel-mix, sass
- Language: JavaScript
- Homepage:
- Size: 3.05 MB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
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).