fix copy plugin

This commit is contained in:
MiniDigger 2020-07-12 16:03:12 +02:00
parent dba407e1c3
commit 5eb30e467d

View File

@ -26,12 +26,13 @@ module.exports = {
plugins: [
new VueLoaderPlugin(),
new MiniCssExtractPlugin(),
// new CopyPlugin([
// {
// from: Path.resolve(modulesDir, '@fortawesome', 'fontawesome-svg-core', 'styles.css'),
// to: Path.resolve(outputDir, 'font-awesome.css')
// }
// ]), TODO fix copy plugin
new CopyPlugin({
patterns: [{
from: Path.resolve(modulesDir, '@fortawesome', 'fontawesome-svg-core', 'styles.css'),
to: Path.resolve(outputDir, 'font-awesome.css')
}]
}
),
//new BundleAnalyzerPlugin()
],
module: {