Skip to content

Commit 4ab677d

Browse files
committed
fix: demo styles no longer published with compiled css
1 parent 6556a21 commit 4ab677d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nativescript-theme-core.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-theme-core",
3-
"version": "0.0.10",
3+
"version": "0.1.1",
44
"description": "Telerik NativeScript Core Theme",
55
"author": "Telerik <support@telerik.com>",
66
"homepage": "https://www.nativescript.org",

scripts/builder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function createCSSFromSCSS() {
122122
var path = filePath;
123123
var parts = path.split('/');
124124
var filename = parts[parts.length - 1];
125-
return path.indexOf("App_Resources") === -1 && filename.indexOf("_") !== 0 && filename.indexOf('app.') !== 0;
125+
return path.indexOf("App_Resources") === -1 && path.indexOf('demo-styles') === -1 && filename.indexOf("_") !== 0 && filename.indexOf('app.') !== 0;
126126
});
127127

128128

0 commit comments

Comments
 (0)