Skip to content

[Front-End] Adding note about extracting CSS #8055

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

Merged
merged 1 commit into from
Jun 22, 2017
Merged

[Front-End] Adding note about extracting CSS #8055

merged 1 commit into from
Jun 22, 2017

Conversation

weaverryan
Copy link
Member

In Encore, the createSharedEntry() can also include CSS.

See symfony/webpack-encore#20

// you can also extract CSS - this will create a 'vendor.css' file
// this CSS will *not* be included in page1.css or page2.css anymore
'bootstrap-sass/assets/stylesheets/_bootstrap.scss'
])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing trailing semicolon?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well, this is not broken technically, as the semicolon is optional in JS 😄

@xabbuh
Copy link
Member

xabbuh commented Jun 22, 2017

Thank you Ryan.

@xabbuh xabbuh merged commit 99f9b3a into symfony:3.3 Jun 22, 2017
xabbuh added a commit that referenced this pull request Jun 22, 2017
This PR was merged into the 3.3 branch.

Discussion
----------

[Front-End] Adding note about extracting CSS

In Encore, the `createSharedEntry()` can also include CSS.

See symfony/webpack-encore#20

Commits
-------

99f9b3a adding note about extracting CSS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants