FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: Register ./app.css instead of app.css so it can be provided by webpack context by PanayotCankov · Pull Request #5158 · NativeScript/NativeScript · GitHub

feat: Register ./app.css instead of app.css so it can be provided by webpack context - #5158

Merged
PanayotCankov merged 1 commit into
masterfrom
cankov/feat-sources-before-compiled-files
Dec 12, 2017
Merged

PanayotCankov merged 1 commit into
masterfrom
cankov/feat-sources-before-compiled-files

Conversation

Copy link
Copy Markdown
Contributor

This will let us register the app.css in webpack from a context, and potentially
have a configuration such as:

const appCssContext = require.context("~/", false, /^\.\/app\.(css|scss|less|sass)$/);
global.registerWebpackModules(appCssContext);

That will work with all of the app.css, app.scss, app.less etc. without further manual reconfiguration.

…webpack context

This will let us register the app.css in webpack from a context, and potentially
have a configuration such as:
```
const appCssContext = require.context("~/", false, /^\.\/app\.(css|scss|less|sass)$/);
global.registerWebpackModules(appCssContext);
```
That will work with all of the app.css, app.scss, app.less etc. without further manual reconfiguration.

Copy link
Copy Markdown
Contributor

uitests

Copy link
Copy Markdown
Contributor

testsappng

Copy link
Copy Markdown
Contributor

@PanayotCankov, it looks like the builds are fine. Just ignore the single test failure, it is not related to this PR.

PanayotCankov merged commit d356339 into master Dec 12, 2017
PanayotCankov deleted the cankov/feat-sources-before-compiled-files branch December 12, 2017 12:34

lock Bot commented Aug 26, 2019

Copy link
Copy Markdown

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock Bot locked and limited conversation to collaborators Aug 26, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL