-
Notifications
You must be signed in to change notification settings - Fork 398
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: added style files concatenation and minification to plugin base (
- Loading branch information
1 parent
2d45e27
commit 92742ab
Showing
8 changed files
with
10,568 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,3 +38,6 @@ android.local.properties | |
|
||
core/out/ | ||
runners/**/out/ | ||
|
||
**/node_modules | ||
**/build |
8,947 changes: 8,947 additions & 0 deletions
8,947
dokka-subprojects/plugin-base/src/main/resources/dokka/package-lock.json
Large diffs are not rendered by default.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
dokka-subprojects/plugin-base/src/main/resources/dokka/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"scripts": { | ||
"build": "webpack --config webpack.config.js" | ||
}, | ||
"devDependencies": { | ||
"css-loader": "^6.9.1", | ||
"css-minimizer-webpack-plugin": "^6.0.0", | ||
"cssnano": "^6.0.3", | ||
"mini-css-extract-plugin": "^2.7.7", | ||
"node-sass": "^9.0.0", | ||
"postcss-loader": "^8.0.0", | ||
"sass": "^1.70.0", | ||
"sass-loader": "^14.0.0", | ||
"style-loader": "^3.3.4", | ||
"webpack": "^5.89.0", | ||
"webpack-cli": "^5.1.4" | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
dokka-subprojects/plugin-base/src/main/resources/dokka/styles/component1.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/*! | ||
* Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. | ||
*/ | ||
|
||
.component1 { | ||
color: red; | ||
} | ||
|
||
.more { | ||
color: green; | ||
} | ||
|
||
.complex { | ||
color: yellow; | ||
background-color: black; | ||
} |
7 changes: 7 additions & 0 deletions
7
dokka-subprojects/plugin-base/src/main/resources/dokka/styles/component2.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/*! | ||
* Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. | ||
*/ | ||
|
||
.component2 { | ||
color: blue; | ||
} |
3 changes: 3 additions & 0 deletions
3
dokka-subprojects/plugin-base/src/main/resources/dokka/styles/index.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@import "component1"; | ||
@import "component2"; | ||
@import "style"; |
Oops, something went wrong.