File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/document/main-doc/docs
en/guides/topic-detail/framework-plugin
zh/guides/topic-detail/framework-plugin Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -438,7 +438,7 @@ import type { CliPlugin } from '@modern-js/core';
438
438
export default (): CliPlugin => ({
439
439
setup(api) {
440
440
return {
441
- modifyEntryImports ({ entrypoint, exportStatement }) {
441
+ modifyEntryExport ({ entrypoint, exportStatement }) {
442
442
return {
443
443
entrypoint,
444
444
exportStatement: [` export const foo = ' test' ` , exportStatement].join(
Original file line number Diff line number Diff line change @@ -438,7 +438,7 @@ import type { CliPlugin } from '@modern-js/core';
438
438
export default (): CliPlugin => ({
439
439
setup(api) {
440
440
return {
441
- modifyEntryImports ({ entrypoint, exportStatement }) {
441
+ modifyEntryExport ({ entrypoint, exportStatement }) {
442
442
return {
443
443
entrypoint,
444
444
exportStatement: [` export const foo = ' test' ` , exportStatement].join(
You can’t perform that action at this time.
0 commit comments