mirror of
https://github.com/HangarMC/Hangar.git
synced 2025-02-11 14:52:01 +08:00
fix copy plugin
This commit is contained in:
parent
dba407e1c3
commit
5eb30e467d
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user