Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Add support for platform specific mainSheet #268

Closed
wants to merge 2 commits into from

Conversation

berardo
Copy link

@berardo berardo commented Sep 2, 2017

Probably one of the main reasons for the relatively common error Can't resolve './app.css' is when it's based on platform file. (e.g. app.ios.css and app.android.css).

This is to detect if the corresponding platform specific file is present and fallback to app.css otherwise.

@ns-bot
Copy link

ns-bot commented Sep 2, 2017

Can one of the admins verify this patch?

4 similar comments
@ns-bot
Copy link

ns-bot commented Sep 2, 2017

Can one of the admins verify this patch?

@ns-bot
Copy link

ns-bot commented Sep 2, 2017

Can one of the admins verify this patch?

@ns-bot
Copy link

ns-bot commented Sep 2, 2017

Can one of the admins verify this patch?

@ns-bot
Copy link

ns-bot commented Sep 2, 2017

Can one of the admins verify this patch?

@gabitoesmiapodo
Copy link

Can one of the admins verify this... um, no, I'm no bot.

Just to confirm I applied this on my current Nativescript Webpack config and works like a charm, it solved my 'Can't resolve './app.css'...' error, which I get all the time.

I would be good if someone could check this and if everything's OK, merge it.

@ns-bot
Copy link

ns-bot commented Oct 13, 2017

Can one of the admins verify this patch?

@PanayotCankov
Copy link
Contributor

Just to mention the custom file system implementation in #290 should handle this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants