1.0.2 • Published 2 years ago

@11ty/eleventy-server-browsersync v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

eleventy-server-browsersync 🕚⚡️🎈🐀

A server plugin to use Browsersync with Eleventy 2.0+.

Documentation: Swap back to Browsersync

npm Version

Installation

npm install @11ty/eleventy-server-browsersync
module.exports = function(eleventyConfig) {
  eleventyConfig.setServerOptions({
    module: "@11ty/eleventy-server-browsersync",

    // Default options shown:
    port: 8080,
    ignore: ["node_modules"],
    watch: false,
    open: false,
    notify: false,
    ui: false,
    ghostMode: false,
    index: "index.html",
  })
};

View the full list of Browsersync options.

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago