Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
I
init-things
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
init-things
Commits
918c73b0
Commit
918c73b0
authored
Oct 31, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
optional external
parent
15e13ea7
Pipeline
#6574
passed with stages
in 1 minute and 22 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
14 deletions
+21
-14
things/koishi-plugin-init/.gitlab-ci.yml
things/koishi-plugin-init/.gitlab-ci.yml
+1
-1
things/koishi-plugin-init/webpack.config.js
things/koishi-plugin-init/webpack.config.js
+20
-13
No files found.
things/koishi-plugin-init/.gitlab-ci.yml
View file @
918c73b0
...
@@ -23,7 +23,7 @@ upload_to_minio:
...
@@ -23,7 +23,7 @@ upload_to_minio:
tags
:
tags
:
-
linux
-
linux
script
:
script
:
-
aws s3 --endpoint=https://minio.mycard.moe:9000 sync --delete dist/ s3://nanahira/koishi-plugin/myplugin
-
aws s3 --endpoint=https://minio.mycard.moe:9000 sync --delete dist/
full/
s3://nanahira/koishi-plugin/myplugin
only
:
only
:
-
master
-
master
...
...
things/koishi-plugin-init/webpack.config.js
View file @
918c73b0
const
path
=
require
(
"
path
"
);
const
path
=
require
(
'
path
'
);
const
packAll
=
!!
process
.
env
.
PACK_ALL
;
module
.
exports
=
{
module
.
exports
=
{
entry
:
"
./src/index.ts
"
,
entry
:
'
./src/index.ts
'
,
mode
:
"
production
"
,
mode
:
'
production
'
,
target
:
"
node
"
,
target
:
'
node
'
,
devtool
:
"
source-map
"
,
devtool
:
'
source-map
'
,
module
:
{
module
:
{
rules
:
[
rules
:
[
{
{
test
:
/
\.
tsx
?
$/
,
test
:
/
\.
tsx
?
$/
,
use
:
"
ts-loader
"
,
use
:
'
ts-loader
'
,
exclude
:
/node_modules/
,
exclude
:
/node_modules/
,
},
},
{
test
:
/
\.
mustache$/
,
use
:
"
raw-loader
"
},
{
test
:
/
\.
mustache$/
,
use
:
'
raw-loader
'
},
],
],
},
},
resolve
:
{
resolve
:
{
extensions
:
[
"
.tsx
"
,
"
.ts
"
,
"
.js
"
],
extensions
:
[
'
.tsx
'
,
'
.ts
'
,
'
.js
'
],
},
},
output
:
{
output
:
{
filename
:
"
index.js
"
,
filename
:
'
index.js
'
,
library
:
{
library
:
{
type
:
"
commonjs
"
,
type
:
'
commonjs
'
,
},
},
path
:
path
.
resolve
(
__dirname
,
"
dist
"
),
path
:
path
.
resolve
(
__dirname
,
packAll
?
'
dist/full
'
:
'
dist
'
),
},
},
externals
:
{
externals
:
{
'
koishi
'
:
'
koishi
'
,
koishi
:
'
koishi
'
,
}
...(
packAll
?
{}
:
{
'
koishi-utils-schemagen
'
:
'
koishi-utils-schemagen
'
,
}),
},
};
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment