Update comments
This commit is contained in:
@@ -2,7 +2,6 @@ import { buildScripts } from './scripts.js';
|
|||||||
import { concatVendors } from './concat.js';
|
import { concatVendors } from './concat.js';
|
||||||
import { compileStyles } from './styles.js' ;
|
import { compileStyles } from './styles.js' ;
|
||||||
import { generateSpriteSVG } from './svgs.js';
|
import { generateSpriteSVG } from './svgs.js';
|
||||||
|
|
||||||
import paths from '../mconfig.json';
|
import paths from '../mconfig.json';
|
||||||
|
|
||||||
// Create an named instance in one file...
|
// Create an named instance in one file...
|
||||||
@@ -15,6 +14,12 @@ bs.init({
|
|||||||
notify: false
|
notify: false
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Build scripts, compile styles, concat vendors and generate the svgs sprite on first hit
|
||||||
|
buildScripts();
|
||||||
|
concatVendors();
|
||||||
|
compileStyles();
|
||||||
|
generateSpriteSVG();
|
||||||
|
|
||||||
// and call any methods on it.
|
// and call any methods on it.
|
||||||
bs.watch(
|
bs.watch(
|
||||||
[
|
[
|
||||||
@@ -26,12 +31,6 @@ bs.watch(
|
|||||||
]
|
]
|
||||||
).on('change', bs.reload);
|
).on('change', bs.reload);
|
||||||
|
|
||||||
// Build scripts and compile styles on first hit
|
|
||||||
buildScripts();
|
|
||||||
concatVendors();
|
|
||||||
compileStyles();
|
|
||||||
generateSpriteSVG();
|
|
||||||
|
|
||||||
// Watch scripts
|
// Watch scripts
|
||||||
bs.watch(
|
bs.watch(
|
||||||
[
|
[
|
||||||
|
|||||||
Reference in New Issue
Block a user