Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Dec 12, 2017

Conversation

PanayotCankov
Copy link
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.
@SvetoslavTsenov
Copy link
Contributor

uitests

@SvetoslavTsenov
Copy link
Contributor

testsappng

@SvetoslavTsenov
Copy link
Contributor

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

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

lock bot commented Aug 26, 2019

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 lock bot locked and limited conversation to collaborators Aug 26, 2019
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.

None yet

4 participants