Skip to content

Commit

Permalink
Move to @nextcloud/webpack-vue-config
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  • Loading branch information
skjnldsv committed Mar 23, 2021
1 parent 9c9cac6 commit 5b95136
Show file tree
Hide file tree
Showing 19 changed files with 2,914 additions and 1,704 deletions.
1 change: 0 additions & 1 deletion apps/accessibility/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@ module.exports = {
path: path.resolve(__dirname, './js'),
publicPath: '/js/',
filename: '[name].js',
jsonpFunction: 'webpackJsonpAccessibility',
},
}
1 change: 0 additions & 1 deletion apps/comments/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ module.exports = {
path: path.resolve(__dirname, './js'),
publicPath: '/js/',
filename: '[name].js',
jsonpFunction: 'webpackJsonpComments',
},
externals: {
jquery: 'jQuery',
Expand Down
1 change: 0 additions & 1 deletion apps/dashboard/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ module.exports = {
path: path.resolve(__dirname, './js'),
publicPath: '/js/',
filename: 'dashboard.js',
jsonpFunction: 'webpackJsonpDashboard',
},
}
1 change: 0 additions & 1 deletion apps/files_sharing/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@ module.exports = {
publicPath: '/js/',
filename: '[name].js',
chunkFilename: 'files_sharing.[id].js?v=[chunkhash]',
jsonpFunction: 'webpackJsonpFilesSharing',
},
}
1 change: 0 additions & 1 deletion apps/files_trashbin/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ module.exports = {
path: path.resolve(__dirname, './js'),
publicPath: '/js/',
filename: 'files_trashbin.js',
jsonpFunction: 'webpackJsonpFilesTrashbin',
},
}
1 change: 0 additions & 1 deletion apps/files_versions/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ module.exports = {
path: path.resolve(__dirname, 'js'),
publicPath: '/js/',
filename: 'files_versions.js',
jsonpFunction: 'webpackJsonpFilesVersions',
},
}
1 change: 0 additions & 1 deletion apps/oauth2/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ module.exports = {
path: path.resolve(__dirname, './js'),
publicPath: '/js',
filename: 'oauth2.js',
jsonpFunction: 'webpackJsonpOauth',
},
}
1 change: 0 additions & 1 deletion apps/settings/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ module.exports = {
publicPath: '/js/',
filename: 'vue-[name].js?v=[contenthash]',
chunkFilename: 'vue-[name]-[chunkhash].js?v=[contenthash]',
jsonpFunction: 'webpackJsonpSettings',
},
optimization: {
splitChunks: {
Expand Down
1 change: 0 additions & 1 deletion apps/systemtags/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ module.exports = {
path: path.resolve(__dirname, './js'),
publicPath: '/js/',
filename: 'systemtags.js',
jsonpFunction: 'webpackJsonpSystemtags',
},
}
1 change: 0 additions & 1 deletion apps/twofactor_backupcodes/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ module.exports = {
path: path.resolve(__dirname, 'js'),
publicPath: '/js',
filename: 'settings.js',
jsonpFunction: 'webpackJsonpTwofactorBackupcodes',
},
}
1 change: 0 additions & 1 deletion apps/updatenotification/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ module.exports = {
path: path.resolve(__dirname, './js'),
publicPath: '/js/',
filename: 'updatenotification.js',
jsonpFunction: 'webpackJsonpUpdatenotification',
},
}
1 change: 0 additions & 1 deletion apps/user_status/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ module.exports = {
path: path.resolve(__dirname, './js'),
publicPath: '/js/',
filename: '[name].js?v=[chunkhash]',
jsonpFunction: 'webpackJsonpUserStatus',
},
optimization: {
splitChunks: {
Expand Down
14 changes: 0 additions & 14 deletions apps/weather_status/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,5 @@ module.exports = {
path: path.resolve(__dirname, './js'),
publicPath: '/js/',
filename: '[name].js?v=[chunkhash]',
jsonpFunction: 'webpackJsonpWeatherStatus',
},
optimization: {
splitChunks: {
automaticNameDelimiter: '-',
},
},
module: {
rules: [
{
test: /\.(png|jpg|gif|svg|woff|woff2|eot|ttf)$/,
loader: 'url-loader',
},
],
},
}
3 changes: 1 addition & 2 deletions apps/workflowengine/webpack.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
const path = require('path')
const path = require('path');

module.exports = {
entry: path.join(__dirname, 'src', 'workflowengine.js'),
output: {
path: path.resolve(__dirname, './js'),
publicPath: '/js/',
filename: 'workflowengine.js',
jsonpFunction: 'webpackJsonpWorkflowengine',
},
}
1 change: 0 additions & 1 deletion core/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ module.exports = [
output: {
filename: '[name].js',
path: path.resolve(__dirname, 'js/dist'),
jsonpFunction: 'webpackJsonpCore',
},
module: {
rules: [
Expand Down
Loading

0 comments on commit 5b95136

Please sign in to comment.