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

--bundle removes CSS ??? #390

Closed
RoyiNamir opened this issue Jan 4, 2018 · 1 comment
Closed

--bundle removes CSS ??? #390

RoyiNamir opened this issue Jan 4, 2018 · 1 comment

Comments

@RoyiNamir
Copy link

RoyiNamir commented Jan 4, 2018

I've created an empty new project using tns create aaa --ng - Which is using Angular 5 & 3.40.

I've also added "nativescript-dev-webpack". the webpack.config.js file is the default one ( I havn't touched it). : https://gist.github.com/anonymous/4318d1205292d8707637f0b93cbd840a

The problem is that if I run : tns run android --env.uglify --env.report --env.aot - I do get to see the CSS in action :

image

But If I add --bundle : tns run android --bundle --env.uglify --env.report --env.aot I get to see this :

image

Question:

Why doesn't it respect the theme CSS ? It's a plain new project.

image

The sample project : https://ufile.io/bpkl8

BTw : all components uses ./ and added moduleid:module.id Just to see if that helps - still no.
Also platform remove/add didn't help.

@RoyiNamir
Copy link
Author

RoyiNamir commented Jan 4, 2018

3 hours wasting. until I found this :

#378

And this fix :

#378 (comment)

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

No branches or pull requests

1 participant