mirror of
https://github.com/dwaxweiler/connector-mobilizon
synced 2025-04-27 08:38:43 +02:00
remove unneeded folder
This commit is contained in:
parent
d32320a540
commit
d5419448e1
gulpfile.js
source
changelog.txtconnector-mobilizon.php
webpack.config.jsfront
date-time-wrapper-test.jsdate-time-wrapper.jsevents-displayer-test.jsevents-displayer.jsevents-loader.jsformatter-test.jsformatter.jsgraphql-wrapper.jshtml-creator-test.jshtml-creator.jsobject-hash-wrapper-test.jsobject-hash-wrapper.jssession-cache-test.jssession-cache.js
includes
readme.txtuninstall.phpview
@ -10,10 +10,10 @@ const FOLDER_BUILD = './build'
|
|||||||
function injectMetadata() {
|
function injectMetadata() {
|
||||||
return src(
|
return src(
|
||||||
[
|
[
|
||||||
FOLDER_BUILD + '/' + PACKAGE.name + '/front/events-loader.js',
|
FOLDER_BUILD + '/front/events-loader.js',
|
||||||
FOLDER_BUILD + '/' + PACKAGE.name + '/' + PACKAGE.name + '.php',
|
FOLDER_BUILD + '/' + PACKAGE.name + '.php',
|
||||||
FOLDER_BUILD + '/' + PACKAGE.name + '/includes/constants.php',
|
FOLDER_BUILD + '/includes/constants.php',
|
||||||
FOLDER_BUILD + '/' + PACKAGE.name + '/readme.txt',
|
FOLDER_BUILD + '/readme.txt',
|
||||||
],
|
],
|
||||||
{ base: './' }
|
{ base: './' }
|
||||||
)
|
)
|
||||||
|
0
source/connector-mobilizon/front/date-time-wrapper-test.js → source/front/date-time-wrapper-test.js
0
source/connector-mobilizon/front/date-time-wrapper-test.js → source/front/date-time-wrapper-test.js
0
source/connector-mobilizon/includes/events-list-widget.php → source/includes/events-list-widget.php
0
source/connector-mobilizon/includes/events-list-widget.php → source/includes/events-list-widget.php
@ -3,26 +3,24 @@ const path = require('path')
|
|||||||
|
|
||||||
const CopyPlugin = require('copy-webpack-plugin')
|
const CopyPlugin = require('copy-webpack-plugin')
|
||||||
|
|
||||||
const PACKAGE = require('./package.json')
|
|
||||||
|
|
||||||
const FOLDER_SOURCE = './source'
|
const FOLDER_SOURCE = './source'
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
entry: FOLDER_SOURCE + '/' + PACKAGE.name + '/front/events-loader.js',
|
entry: FOLDER_SOURCE + '/front/events-loader.js',
|
||||||
output: {
|
output: {
|
||||||
filename: 'events-loader.js',
|
filename: 'events-loader.js',
|
||||||
path: path.resolve(__dirname, 'build/' + PACKAGE.name + '/front'),
|
path: path.resolve(__dirname, 'build/' + '/front'),
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
new CopyPlugin({
|
new CopyPlugin({
|
||||||
patterns: [
|
patterns: [
|
||||||
{
|
{
|
||||||
context: FOLDER_SOURCE + '/' + PACKAGE.name,
|
context: FOLDER_SOURCE,
|
||||||
from: '**/*.php',
|
from: '**/*.php',
|
||||||
to: '../',
|
to: '../',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
context: FOLDER_SOURCE + '/' + PACKAGE.name,
|
context: FOLDER_SOURCE,
|
||||||
from: '**/*.txt',
|
from: '**/*.txt',
|
||||||
to: '../',
|
to: '../',
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user