Skip to content

Commit 9f5c7e2

Browse files
committed
Change: プラグインを外部化
1 parent 7c86eb7 commit 9f5c7e2

File tree

6 files changed

+19
-75
lines changed

6 files changed

+19
-75
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,6 @@ scullyStats.json
5151
/scully/**/*.js.map
5252
/scully/**/*.d.ts
5353
/src/assets/scully-routes.json
54+
55+
# Articles
56+
blog/

package-lock.json

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"lunr-languages": "1.9.0",
3232
"prismjs": "1.29.0",
3333
"rxjs": "7.5.6",
34+
"scully-plugin-esa": "github:mugifly/scully-plugin-esa",
3435
"tslib": "2.4.0",
3536
"zone.js": "0.11.8"
3637
},

scully.blog.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ import { ScullyConfig, setPluginConfig } from '@scullyio/scully';
33
/** this loads the default render plugin, remove when switching to something else. */
44
import '@scullyio/scully-plugin-puppeteer';
55

6-
import './scully/plugins/esa-route-process/plugin';
7-
import './scully/plugins/esa-post-process/plugin';
6+
import 'scully-plugin-esa';
87
import './scully/plugins/lunr/plugin';
98

109
// Full-text search with Lunr

scully/plugins/esa-post-process/plugin.ts

Lines changed: 0 additions & 50 deletions
This file was deleted.

scully/plugins/esa-route-process/plugin.ts

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)