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 adf4bf8 commit 41d3f95Copy full SHA for 41d3f95
index.js
@@ -80,8 +80,8 @@ module.exports = (api, options) => {
80
options,
81
rendererConfig
82
)
83
- if (fs.existsSync(api.resolve('./dist/fonts'))) {
84
- fs.mkdirSync(api.resolve('./dist/css/fonts'))
+ if (fs.existsSync(api.resolve(outputDir + '/bundled/fonts'))) {
+ fs.mkdirSync(api.resolve(outputDir + '/bundled/css/fonts'))
85
fs.copySync(
86
api.resolve(outputDir + '/bundled/fonts'),
87
api.resolve(outputDir + '/bundled/css/fonts')
0 commit comments