Skip to content

Commit

Permalink
Merge d0b3a7d into b5074c8
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremythuff committed Aug 30, 2021
2 parents b5074c8 + d0b3a7d commit 225ae55
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .wvr-ud/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"dist/bundle/weaver-components.js"
],
"additionalAssets": [
"src/assets/**/*"
"src/assets/**/*",
"dist/bundle/styles.css"
]
}
12 changes: 10 additions & 2 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,17 @@
}
],
"buildOptimizer": true,
"optimization": true,
"optimization": {
"scripts": true,
"fonts": {
"inline": true
},
"styles": {
"minify": true,
"inlineCritical": false
}
},
"sourceMap": false,
"extractCss": false,
"extractLicenses": true,
"commonChunk": false,
"namedChunks": false,
Expand Down
4 changes: 2 additions & 2 deletions scripts/build-wvr-components.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ cp.fork(__dirname + '/build-wvr-config-template.js');

const files = [
`${componentsPath}/polyfills-${esv}.js`,
`${componentsPath}/styles-${esv}.js`,
`${componentsPath}/main-${esv}.js`
];

Expand All @@ -30,7 +29,8 @@ cp.fork(__dirname + '/build-wvr-config-template.js');
await concat(files, `${bundlePath}/weaver-components.js`);

fs.copy(`${componentsPath}/assets`, `${usagePath}/assets`);
fs.copy(`${componentsPath}/assets`, `${bundlePath}/assets`);
fs.copy(`${componentsPath}/assets`, `${bundlePath}/assets`)
fs.copy(`${componentsPath}/styles.css`, `${bundlePath}/styles.css`);

fs.copy('projects/wvr-elements/src/lib/shared/styles', `${elementsPath}/styles`);
fs.copy('scripts', `${elementsPath}/scripts`);
Expand Down
1 change: 1 addition & 0 deletions src/index-docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
border-bottom: 1px solid grey;
}
</style>
<link rel="stylesheet" type="text/css" href="/weaver-components/docs/usage/assets/styles.css"></link>
</head>

<body class="wvr-components-loading">
Expand Down
1 change: 1 addition & 0 deletions src/index-reports.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
border-bottom: 1px solid grey;
}
</style>
<link rel="stylesheet" type="text/css" href="/weaver-components/docs/usage/assets/styles.css"></link>
</head>

<body class="wvr-components-loading">
Expand Down
1 change: 1 addition & 0 deletions src/index-static.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
border-bottom: 1px solid grey;
}
</style>
<link rel="stylesheet" type="text/css" href="/weaver-components/docs/usage/assets/styles.css"></link>
</head>

<body class="wvr-components-loading">
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
border-bottom: 1px solid grey;
}
</style>

<link rel="stylesheet" type="text/css" href="styles.css">
</head>

<body class="wvr-components-loading">
Expand Down

0 comments on commit 225ae55

Please sign in to comment.