We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2290fb6 commit a94bc30Copy full SHA for a94bc30
index.js
@@ -54,6 +54,14 @@ module.exports = (api, options) => {
54
append: false,
55
publicPath: false
56
}])
57
+ // FIXME: This is a temporary patch.
58
+ // When the following PR is merged into file-loader, modify it to use cssOutputPath and useRelativePath.
59
+ // https://github.com/webpack-contrib/file-loader/pull/150
60
+ webpackConfig.plugin('extract-css')
61
+ .tap(args => {
62
+ args[0].filename = '[name].[contenthash:8].css',
63
+ args[0].chunkFilename = '[name].[id].[contenthash:8].css'
64
+ })
65
}
66
})
67
0 commit comments