This repository was archived by the owner on Aug 7, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit 30e9c97
fix(template): disable minification of css by css-loader (#154)
When uglify is used, it triggers the minification option of the
css-loader. The css-loader uses internally cssnano to optimize the size
of the stylesheets. Since NativeScript supports only a subset of the CSS language, many of these optimizations may be damaging for the user's css.
Such is the case with `background-position`: center, which gets
translated to `background-position`: 50%, which is currently not working
in NativeScript 3.0 (NativeScript/NativeScript#4201).
closes #135 1 parent 3181821 commit 30e9c97
File tree
4 files changed
+16
-4
lines changed- prepublish/common
- templates
4 files changed
+16
-4
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 | - | ||
16 | + | ||
17 | + | ||
18 | + | ||
19 | + | ||
17 | 20 |
| |
18 | 21 |
| |
19 | 22 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
85 | 85 |
| |
86 | 86 |
| |
87 | 87 |
| |
88 | - | ||
88 | + | ||
89 | + | ||
90 | + | ||
91 | + | ||
89 | 92 |
| |
90 | 93 |
| |
91 | 94 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
84 | 84 |
| |
85 | 85 |
| |
86 | 86 |
| |
87 | - | ||
87 | + | ||
88 | + | ||
89 | + | ||
90 | + | ||
88 | 91 |
| |
89 | 92 |
| |
90 | 93 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
84 | 84 |
| |
85 | 85 |
| |
86 | 86 |
| |
87 | - | ||
87 | + | ||
88 | + | ||
89 | + | ||
90 | + | ||
88 | 91 |
| |
89 | 92 |
| |
90 | 93 |
| |
|
0 commit comments