-
Notifications
You must be signed in to change notification settings - Fork 5
way to create a merged layer #5
Comments
what exactly do you mean by "merged" layer? |
for given example it would like:
|
app
import Button from 'merged-layer/button';
import 'merged-layer/button/index.css';
class SomeAppComponent extends React.Component {
// ...
return (
//...
<Button
icon="never-gonna-give-you-up.png"
onClick={doStuff}>
{'Click me'}
</Button>
//...
);
} |
I'm not quite sure that it's possible at all. I mean you can't prebuild your layer standalone because you don't know about other layers. |
I think @Guria means prebuilding layer with resolved |
@mistadikay yep, you are right. It should be some build tool which use layer array (
Of course not. Usual |
I wonder if it possible with current toolset to bundle a "merged" layer in dist. It would be great way to expose components to projects that not necessarily should know about underlie tech stack.
The text was updated successfully, but these errors were encountered: