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
const webpack = require('webpack'); | |
const WebpackDevServer = require('webpack-dev-server'); | |
const webpackConfig = require('./webpack.config.js'); | |
const browserSync = require('browser-sync'); | |
// a nice npm module written to have BrowserSync work with Webpack | |
// and webpack-dev-server | |
const BrowserSyncPlugin = require('browser-sync-webpack-plugin'); | |
const renderTemplate = require('./build/gulp/template'); | |
const clients = require('./build/gulp/clients')(); | |
let browserSyncInstance; |
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
const gulp = require('gulp'); | |
const sass = require('gulp-sass'); | |
const path = require('path'); | |
const gutil = require("gulp-util"); | |
// custom importer for scss files that resolve file names in | |
// main app.scss manifest | |
const importer = require('../scssImporter'); | |
const postcss = require('gulp-postcss'); | |
const autoprefixer = require('autoprefixer'); | |
const cssnano = require('cssnano'); |
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
const path = require('path'); | |
const merge = require('webpack-merge'); | |
const webpack = require('webpack'); | |
// args.getArgs is a custom function that I wrote for yarn | |
const args = require('./build/utils/args'); | |
// ENV Variables | |
const client = args.getArg('client') || 'default'; | |
const stubs = args.getArg('stubs'); | |
const PORT = 8080; |