You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
af-webpack/lib/getConfig.js, line 185-191:
if ((0, _fs.existsSync)((0, _path.resolve)(opts.cwd, 'public'))) {
copyPlugins.push(new _copyWebpackPlugin.default([{
from: (0, _path.resolve)(opts.cwd, 'public'),
to: outputPath,
toType: 'dir'
}]));
}
If public directory is set as the destination directory, webpack will remove the directory after fs.existsSync check, which will cause copy-webpack-plugin compile error.
Suggestion: either externalize this configuration, or disable this feature completely since the copy configuration for copy-webpack-plugin is already externalized.
If
public
directory is set as the destination directory, webpack will remove the directory after fs.existsSync check, which will cause copy-webpack-plugin compile error.Suggestion: either externalize this configuration, or disable this feature completely since the
copy
configuration for copy-webpack-plugin is already externalized.sorrycc/roadhog#30
sorrycc/roadhog#341
sorrycc/roadhog#464
The text was updated successfully, but these errors were encountered: