work.suroh.tk/node_modules/bs-recipes/recipes/html.injection/app.js

20 lines
339 B
JavaScript
Raw Normal View History

2019-12-02 12:22:45 +00:00
/**
* Require Browsersync
*/
var bs = require('browser-sync').create();
/**
* Run Browsersync with server config
*/
bs.init({
server: "app",
files: ["app/css/*.css"],
plugins: [
{
module: "bs-html-injector",
options: {
files: ["app/*.html"]
}
}
]
});