Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: namedexport option could be a function
- Loading branch information
1 parent
cc0c1b4
commit 3928488
Showing
10 changed files
with
305 additions
and
8 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
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
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
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
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
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,11 @@ | ||
:local(.header-baz) { | ||
color: red; | ||
} | ||
|
||
:local(.body) { | ||
color: coral; | ||
} | ||
|
||
:local(.footer) { | ||
color: blue; | ||
} |
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,8 @@ | ||
import css from './index.css'; | ||
import html from './template.js'; | ||
|
||
const result = {css, html}; | ||
|
||
__export__ = result; | ||
|
||
export default result; |
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,11 @@ | ||
import { header_baz_TEST, body_TEST, footer_TEST } from './index.css'; | ||
|
||
let html = '\n'; | ||
|
||
html += `<div class="${header_baz_TEST}">\n`; | ||
html += `<div class="${body_TEST}">\n`; | ||
html += `<div class="${footer_TEST}">\n`; | ||
|
||
__export__ = html; | ||
|
||
export default html; |
Oops, something went wrong.