webpackify workflowengine
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
38efad7881
commit
e5fefd1338
|
@ -17,5 +17,7 @@
|
|||
/apps/twofactor_backupcodes/js/*.js.map binary
|
||||
/apps/updatenotification/js/updatenotification.js binary
|
||||
/apps/updatenotification/js/updatenotification.js.map binary
|
||||
/apps/workflowengine/js/*.js binary
|
||||
/apps/workflowengine/js/*.js.map binary
|
||||
|
||||
/settings/js/vue* binary
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
js/checkPlugins.js
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -60,19 +60,7 @@ class Application extends \OCP\AppFramework\App {
|
|||
]);
|
||||
|
||||
script('workflowengine', [
|
||||
'admin',
|
||||
'templates',
|
||||
|
||||
// Check plugins
|
||||
'filemimetypeplugin',
|
||||
'filenameplugin',
|
||||
'filesizeplugin',
|
||||
'filesystemtagsplugin',
|
||||
'requestremoteaddressplugin',
|
||||
'requesttimeplugin',
|
||||
'requesturlplugin',
|
||||
'requestuseragentplugin',
|
||||
'usergroupmembershipplugin',
|
||||
'workflowengine',
|
||||
]);
|
||||
},
|
||||
-100
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
import './admin'
|
||||
import './templates'
|
||||
import './filemimetypeplugin'
|
||||
import './filenameplugin'
|
||||
import './filesizeplugin'
|
||||
import './filesystemtagsplugin'
|
||||
import './requestremoteaddressplugin'
|
||||
import './requesttimeplugin'
|
||||
import './requesturlplugin'
|
||||
import './requestuseragentplugin'
|
||||
import './usergroupmembershipplugin'
|
||||
|
||||
window.OCA.WorkflowEngine = OCA.WorkflowEngine
|
|
@ -0,0 +1,37 @@
|
|||
const path = require('path');
|
||||
|
||||
module.exports = {
|
||||
entry: path.join(__dirname, 'src', 'workflowengine.js'),
|
||||
output: {
|
||||
path: path.resolve(__dirname, './js'),
|
||||
publicPath: '/js/',
|
||||
filename: 'workflowengine.js',
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.css$/,
|
||||
use: ['style-loader', 'css-loader']
|
||||
},
|
||||
{
|
||||
test: /\.scss$/,
|
||||
use: ['style-loader', 'css-loader', 'sass-loader']
|
||||
},
|
||||
{
|
||||
test: /\.js$/,
|
||||
loader: 'babel-loader',
|
||||
exclude: /node_modules/
|
||||
},
|
||||
{
|
||||
test: /\.(png|jpg|gif|svg)$/,
|
||||
loader: 'file-loader',
|
||||
options: {
|
||||
name: '[name].[ext]?[hash]'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
resolve: {
|
||||
extensions: ['*', '.js']
|
||||
}
|
||||
};
|
|
@ -10,6 +10,7 @@ const oauth2 = require('./apps/oauth2/webpack')
|
|||
const systemtags = require('./apps/systemtags/webpack')
|
||||
const twofactor_backupscodes = require('./apps/twofactor_backupcodes/webpack')
|
||||
const updatenotifications = require('./apps/updatenotification/webpack')
|
||||
const workflowengine = require('./apps/workflowengine/webpack')
|
||||
|
||||
module.exports = [].concat(
|
||||
core,
|
||||
|
@ -22,5 +23,6 @@ module.exports = [].concat(
|
|||
oauth2,
|
||||
systemtags,
|
||||
twofactor_backupscodes,
|
||||
updatenotifications
|
||||
updatenotifications,
|
||||
workflowengine
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue