Skip to content
Snippets Groups Projects
browsersync.config.js 391 B
Newer Older
  • Learn to ignore specific revisions
  • 'use strict';
    /**
     * @module BrowserSync.options
     */
    module.exports = {
        server: 'dist',
        startPath: '/html/',
        open: true,
        snippetOptions: {
            async: true,
            whitelist: [],
            blacklist: [],
            rule: {
                match: /<body[^>]*>/i,
                fn: function (snippet, match) {
                    return match + snippet;
                }
            }
        },
    };