Skip to content

Commit

Permalink
pkp/pkp-lib#9753 Remove copy scripts from node_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
blesildaramirez authored and asmecher committed Sep 5, 2024
1 parent 11c9cfd commit e25c257
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions vue.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
var path = require('path');
const CopyPlugin = require('copy-webpack-plugin');

module.exports = {
css: {
Expand Down Expand Up @@ -35,25 +34,6 @@ module.exports = {
hotUpdateChunkFilename: 'hot-updates/hot-update.js',
hotUpdateMainFilename: 'hot-updates/hot-update.json'
},
plugins: [
new CopyPlugin([
// copy jquery and jquery-ui from node_modules to lib/pkp composer's vendor dir
{
from: 'node_modules/jquery/dist/',
to: '../lib/pkp/lib/vendor/components/jquery/',
},
{
from: 'node_modules/jquery-ui/dist/*.js',
to: '../lib/pkp/lib/vendor/components/jqueryui/[name].[ext]',
},

// copy jquery-validation from node_modules to lib/pkp/js/lib
{
from: 'node_modules/jquery-validation/dist/',
to: '../lib/pkp/js/lib/jquery/plugins/validate/',
},
])
],
resolve: {
alias: {
'@': path.resolve(__dirname, 'lib/ui-library/src')
Expand Down

0 comments on commit e25c257

Please sign in to comment.