Skip to content

Commit dbe5a93

Browse files
thingalonmatticbot
authored andcommitted
Boost: Fix image guide style (#35155)
* Copy image guide stylesheet to boost * changelog Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/7620830385
1 parent e86e56f commit dbe5a93

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

app/modules/image-guide/dist/guide.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webpack.config.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@ if ( ! isProduction ) {
2424
} );
2525
}
2626

27+
const imageGuideCopyPatterns = [
28+
{
29+
from: path.join(
30+
path.dirname( require.resolve( '@automattic/jetpack-image-guide' ) ),
31+
'guide.css'
32+
),
33+
},
34+
];
35+
2736
module.exports = [
2837
/**
2938
* The Boost plugin
@@ -123,6 +132,7 @@ module.exports = [
123132
...jetpackWebpackConfig.StandardPlugins( {
124133
DependencyExtractionPlugin: { injectPolyfill: true },
125134
} ),
135+
new CopyPlugin( { patterns: imageGuideCopyPatterns } ),
126136
],
127137
module: {
128138
strictExportPresence: true,

0 commit comments

Comments
 (0)