Skip to content

Commit

Permalink
#218 - Move static assets into the Blazor project.
Browse files Browse the repository at this point in the history
  • Loading branch information
maraf committed Mar 2, 2019
1 parent baca08c commit b56e021
Show file tree
Hide file tree
Showing 39 changed files with 26,613 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Money.UI.Blazor/Money.UI.Blazor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@
<Compile Update="**\*.cshtml.cs" DependentUpon="%(Filename)" />
</ItemGroup>

<Import Project="$(SolutionDir)\build\Blazor.targets" />
<!--<Import Project="$(SolutionDir)\build\Blazor.targets" />-->
</Project>
24 changes: 24 additions & 0 deletions src/Money.UI.Blazor/bundleconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// Configure bundling and minification for the project.
// More info at https://go.microsoft.com/fwlink/?LinkId=808241
[
{
"outputFileName": "wwwroot/css/site.min.css",
// An array of relative input file paths. Globbing patterns supported
"inputFiles": [
"wwwroot/css/site.css"
]
},
{
"outputFileName": "wwwroot/js/site.min.js",
"inputFiles": [
"wwwroot/js/site.js"
],
// Optionally specify minification options
"minify": {
"enabled": true,
"renameLocals": true
},
// Optionally generate .map file
"sourceMap": false
}
]
10 changes: 10 additions & 0 deletions src/Money.UI.Blazor/compilerconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[
{
"outputFile": "wwwroot/js/site.min.js",
"inputFile": "wwwroot/js/site.js"
},
{
"outputFile": "wwwroot/css/site.min.css",
"inputFile": "wwwroot/css/site.scss"
}
]
63 changes: 63 additions & 0 deletions src/Money.UI.Blazor/compilerconfig.json.defaults
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"compilers": {
"less": {
"autoPrefix": "",
"cssComb": "none",
"ieCompat": true,
"strictMath": false,
"strictUnits": false,
"relativeUrls": true,
"rootPath": "",
"sourceMapRoot": "",
"sourceMapBasePath": "",
"sourceMap": false
},
"sass": {
"autoPrefix": "",
"includePath": "",
"indentType": "space",
"indentWidth": 2,
"outputStyle": "nested",
"Precision": 5,
"relativeUrls": true,
"sourceMapRoot": "",
"lineFeed": "",
"sourceMap": false
},
"stylus": {
"sourceMap": false
},
"babel": {
"sourceMap": false
},
"coffeescript": {
"bare": false,
"runtimeMode": "node",
"sourceMap": false
},
"handlebars": {
"root": "",
"noBOM": false,
"name": "",
"namespace": "",
"knownHelpersOnly": false,
"forcePartial": false,
"knownHelpers": [],
"commonjs": "",
"amd": false,
"sourceMap": false
}
},
"minifiers": {
"css": {
"enabled": true,
"termSemicolons": true,
"gzip": false
},
"javascript": {
"enabled": true,
"termSemicolons": true,
"gzip": false
}
}
}
1 change: 1 addition & 0 deletions src/Money.UI.Blazor/wwwroot/css/site.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b56e021

Please sign in to comment.