Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Add support for platform specific mainSheet #268

Closed
berardo wants to merge 2 commits into NativeScript:master from berardo:master

Conversation

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.

gabitoesmiapodo reacted with thumbs up emoji danielgek reacted with hooray emoji
Copy link

ns-bot commented Sep 2, 2017

Can one of the admins verify this patch?

4 similar comments
Copy link

ns-bot commented Sep 2, 2017

Can one of the admins verify this patch?

Copy link

ns-bot commented Sep 2, 2017

Can one of the admins verify this patch?

Copy link

ns-bot commented Sep 2, 2017

Can one of the admins verify this patch?

Copy link

ns-bot commented Sep 2, 2017

Can one of the admins verify this patch?

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.

Copy link

ns-bot commented Oct 13, 2017

Can one of the admins verify this patch?

Copy link
Contributor

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

gabitoesmiapodo reacted with thumbs up emoji

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /