fixed issue with bootstrap css being in the wrong location after building project.

build-validation
David Tookey 5 years ago
parent 1fc422cfe1
commit dfb95e951e

@ -16,6 +16,10 @@ function conf() {
.pipe(dest('build/assets/'));
}
function style(){
return src('node_modules/bootstrap/dist/css/bootstrap.css')
.pipe(dest('build/assets/pages/styles/'))
}
function root() {
return src('src/*.js')
@ -45,4 +49,4 @@ function dependencies(cb) {
exports.clean = clean;
exports.default = series(conf, root, pkg, typescript, dependencies);
exports.default = series(conf, style, root, pkg, typescript, dependencies);

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>Landing page</title>
<link rel="stylesheet" href="../../../node_modules/bootstrap/dist/css/bootstrap.css">
<link rel="stylesheet" href="styles/bootstrap.css">
<link rel="stylesheet" type="text/css" href="styles/default.css">
<!-- <meta http-equiv="Content-Security-Policy" content="script-src 'self';">-->

Loading…
Cancel
Save