Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion packages/gatsby/cache-dir/static-entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,6 @@ export default (pagePath, callback) => {
} else {
headComponents.unshift(
<style
Copy link
Contributor Author

@brotzky brotzky Jul 12, 2018

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks 👍

type="text/css"
data-href={urlJoin(pathPrefix, style.name.slice(2))}
dangerouslySetInnerHTML={{
__html: fs.readFileSync(
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby/src/utils/webpack-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -430,8 +430,8 @@ module.exports = async ({
*/
plugins.extractText = options =>
new MiniCssExtractPlugin({
filename: `../css/[name].[contenthash].css`,
chunkFilename: `../css/[name].[contenthash].css`,
filename: `[name].[contenthash].css`,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've added back the ../css/ back as this wasn't supposed to be in this commit. See the following commit for reference.

chunkFilename: `[name].[contenthash].css`,
...options,
})

Expand Down