Skip to content

yingpengsha/father-extends-config-plugin-not-work-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

father-extends-config-plugin-not-work-issue

how to reproduce

modify .fatherrc like this:

import { defineConfig } from "father"

export default defineConfig({
  cjs: {},
  esm: {},
  // ! using plugin directly, console will log 'plugin is running'
  // plugins: ['./plugin.ts']

  // ! not work
  extends: './.father.forward.ts',
})

then run pnpm run build, you will not see the log:

info  - [plugin: ./plugin.ts] plugin is running

expected behavior

father should load the config from extends path, and run the plugin.

the console should log:

info  - [plugin: ./plugin.ts] plugin is running

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published