This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let webpack = require('webpack'); | |
| let path = require('path'); | |
| module.exports = { | |
| entry: { | |
| app: './resources/assets/js/app.js', | |
| vendor: ['vue', 'axios'] | |
| }, | |
| output: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Mixins.styl | |
| has($name) | |
| /&__{$name} | |
| {block} | |
| variant($name) | |
| /&--{$name} | |
| {block} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "directory": "components" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var gulp = require('gulp'); | |
| var browserify = require('browserify'); | |
| var babelify = require('babelify'); | |
| var source = require('vinyl-source-stream'); | |
| gulp.task('browserify', function() { | |
| return browserify('./js/app.js') | |
| .transform(babelify, { stage: 0 }) | |
| .bundle() | |
| .on('error', function(e){ |