Skip to content

Commit b159248

Browse files
authored
refactor(examples): rename plugin to use-plugin (#30)
1 parent 5d4d770 commit b159248

File tree

8 files changed

+4
-4
lines changed

8 files changed

+4
-4
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ jobs:
6666

6767
- name: Run example - plugin
6868
run: node build.js
69-
working-directory: examples/plugin
69+
working-directory: examples/use-plugin

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const core = require('@rspack/core');
1313
* Creates a wrapper for the plugin `MyBannerPlugin` exported by `crates/binding/src/lib.rs`.
1414
*
1515
* Check out `crates/binding/src/lib.rs` for the original plugin definition.
16-
* This plugin is used in `examples/plugin/build.js`.
16+
* This plugin is used in `examples/use-plugin/build.js`.
1717
*
1818
* @example
1919
* ```js

pnpm-lock.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
packages:
22
- 'crates/binding'
3-
- 'examples/plugin'
3+
- 'examples/use-plugin'
44
- '.'

0 commit comments

Comments
 (0)